Package gensaschema :: Module _type :: Class Type
[frames] | no frames]

Class Type

source code

object --+
         |
        Type

Type container
Instance Methods
 
__init__(self, ctype, dialect_name, symbols)
Initialization
source code
str
__repr__(self)
Make string representation
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
Type
by_column(cls, column, symbols)
Construct by SA column
source code
Properties

Inherited from object: __class__

Method Details

__init__(self, ctype, dialect_name, symbols)
(Constructor)

source code 
Initialization
Parameters:
  • ctype (SA type) - Column type
  • dialect_name (str) - Dialect name
  • symbols (Symbols) - Symbol table
Overrides: object.__init__

by_column(cls, column, symbols)
Class Method

source code 
Construct by SA column
Parameters:
  • column (SA column) - SA column
Returns: Type
New Type instance

__repr__(self)
(Representation operator)

source code 
Make string representation
Returns: str
The string representation
Overrides: object.__repr__