MambuPy.orm.schema_addresses

Schema tables for Mambu Addresses.

Classes

Address(**kwargs)

Adress table.

class MambuPy.orm.schema_addresses.Address(**kwargs)[source]

Bases: Base

Adress table.

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

__mapper__ = <Mapper at 0x7f396df844f0; Address>
__module__ = 'MambuPy.orm.schema_addresses'
__repr__()[source]

Return repr(self).

__table__ = Table('address', MetaData(bind=None), Column('encodedKey', String(), table=<address>, primary_key=True, nullable=False), Column('parentKey', String(), table=<address>), Column('city', String(), table=<address>), Column('country', String(), table=<address>), Column('line1', String(), table=<address>), Column('line2', String(), table=<address>), Column('postcode', String(), table=<address>), Column('region', String(), table=<address>), schema='mambu_db')
__table_args__ = {'keep_existing': True, 'schema': 'mambu_db'}
__tablename__ = 'address'
_sa_class_manager = {'branch': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'city': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'client': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'country': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'encodedKey': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'group': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'line1': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'line2': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'parentKey': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'postcode': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'region': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}
property address
branch
city
client
country
encodedKey
group
line1
line2
parentKey
postcode
region