Re: flexi adaption/casting scheme - Mailing list psycopg

From Tobias Oberstein
Subject Re: flexi adaption/casting scheme
Date
Msg-id 505DC3BA.8020504@gmail.com
Whole thread Raw
In response to Re: flexi adaption/casting scheme  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Responses Re: flexi adaption/casting scheme
List psycopg
>> My use case: have a CompositeDictCaster that spits out:
>>
>> {'record': 'public.t_station', 'x': 10, 'y': 8}
>>
>> that is injects a 'record' field containing the composite type name.
>> Hence I need the schema, not only the typename.
>
> Makes sense. I'll see to add a schema attribute to the CompositeCaster.

Thanks!

Tobias



psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: flexi adaption/casting scheme
Next
From: Daniele Varrazzo
Date:
Subject: Re: flexi adaption/casting scheme