Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
‹EYc@sdZddlmZmZmZddlmZddlmZddlZej	dd	ƒZ
ej	d
dƒZej	dd
ƒZej	ddƒZ
ej	ddƒZej	ddddƒZej	ddddƒZej	ddddƒZej	ddddƒZej	ddddƒZej	d d!dd"ƒZej	d#d$dd%ƒZej	d&d'dd(ƒZej	d)d*deeBeBeBeBƒZej	d+d,deeAƒZej	d-d.deeAƒZej	d/d0deeAƒZej	d1d2deeAƒZej	d3d4deeAƒZd5Zd6Zd`Zej	d9ƒZ ej	d:ƒZ!ej	d;d<ƒZ"ej	d=d>ƒZ#ej	d?d@ƒZ$ej	dAdBƒZ%e&egƒZ'e&dee
gƒZ)ej	dCƒZ*ej	dDƒZ+dE„Z,dF„Z-ej.eƒZ/ej.dGƒZ0dH„Z1dI„Z2dJ„Z3dK„Z4dL„Z5dM„Z6dN„Z7ej8e9ƒdO„ƒZ:dP„Z;dQ„Z<dR„Z=dS„Z>dT„Z?dU„Z@dV„ZAejBdWƒZCej8eDƒeEdX„ƒZFeGdY„ZHdZe9fd[„ƒYZId\eIfd]„ƒYZJd^e9fd_„ƒYZKdS(as=Constants and rudimental functions used throughout the ORM.

i(tutilt
inspectiontexc(t
expressioni(RiÿÿÿÿNtPASSIVE_NO_RESULTs¦Symbol returned by a loader callable or other attribute/history
    retrieval operation when a value could not be determined, based
    on loader callable flags.
    tATTR_WAS_SETs•Symbol returned by a loader callable to indicate the
    retrieved value, or values, were assigned to their attributes
    on the target object.
    t
ATTR_EMPTYs@Symbol used internally to indicate an attribute had no callable.tNO_VALUEsÂSymbol which may be placed as the 'previous' value of an attribute,
    indicating no value was loaded for an attribute when it was modified,
    and flags indicated we were not to load it.
    t	NEVER_SETsŽSymbol which may be placed as the 'previous' value of an attribute
    indicating that the attribute had not been assigned to previously.
    t	NO_CHANGEs]No callables or SQL should be emitted on attribute access
    and no state should change
    t	canonicalitCALLABLES_OKsELoader callables can be fired off if a value
    is not present.
    tSQL_OKsBLoader callables can emit SQL at least on scalar value attributes.tRELATED_OBJECT_OKsZCallables can use SQL to load related objects as well
    as scalar value attributes.
    itINIT_OKs‹Attributes should be initialized with a blank
    value (None or an empty collection) upon get, if no other
    value can be obtained.
    itNON_PERSISTENT_OKs9Callables can be emitted if the parent is not persistent.itLOAD_AGAINST_COMMITTEDsUCallables should use committed values as primary/foreign keys during a
    load.
    i tNO_AUTOFLUSHs*Loader callables should disable autoflush.i@tPASSIVE_OFFs&Callables can be emitted in all cases.tPASSIVE_RETURN_NEVER_SETsPASSIVE_OFF ^ INIT_OKtPASSIVE_NO_INITIALIZEs'PASSIVE_RETURN_NEVER_SET ^ CALLABLES_OKtPASSIVE_NO_FETCHsPASSIVE_OFF ^ SQL_OKtPASSIVE_NO_FETCH_RELATEDsPASSIVE_OFF ^ RELATED_OBJECT_OKtPASSIVE_ONLY_PERSISTENTsPASSIVE_OFF ^ NON_PERSISTENT_OKt_sa_class_managert_sa_instance_statetmappertinstrumentortEXT_CONTINUEtEXT_STOPt	ONETOMANYs®Indicates the one-to-many direction for a :func:`.relationship`.

    This symbol is typically used by the internals but may be exposed within
    certain API features.

    t	MANYTOONEs®Indicates the many-to-one direction for a :func:`.relationship`.

    This symbol is typically used by the internals but may be exposed within
    certain API features.

    t
MANYTOMANYs¯Indicates the many-to-many direction for a :func:`.relationship`.

    This symbol is typically used by the internals but may be exposed within
    certain API features.

    t
NOT_EXTENSIONs¦Symbol indicating an :class:`InspectionAttr` that's
    not part of sqlalchemy.ext.

    Is assigned to the :attr:`.InspectionAttr.extension_type`
    attibute.

    tSET_DEFERRED_EXPIREDtDEFER_FOR_STATEcstj‡fd†ƒ}|S(s1Mark a method as generative, e.g. method-chained.csI|djƒ}xˆD]}|||jƒqW|||d|Ž|S(Nii(t_clonet__name__(tfntargstkwtselft	assertion(t
assertions(sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pytgenerateÄs

(Rt	decorator(R+R,((R+sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_generativeÁscCs|jjtdƒS(N(t__dict__tgettDEFAULT_MANAGER_ATTRtNone(tcls((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pytmanager_of_classÐsR/cCstt|ƒƒS(s'Return a string describing an instance.(t	state_strtinstance_state(tinstance((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pytinstance_strØscCs4|dkrdSd|jjt|jƒƒfSdS(s=Return a string describing an instance via its InstanceState.R2s<%s at 0x%x>N(R2tclass_R%tidtobj(tstate((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyR5ÞscCs%|dkrdSd|jjfSdS(sNReturn a string describing an instance's class via its
    InstanceState.
    R2s<%s>N(R2R9R%(R<((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pytstate_class_strçscCst|ƒd|S(Nt.(R8(R7t	attribute((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt
attribute_stròscCst|ƒd|S(NR>(R5(R<R?((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pytstate_attribute_ströscCs
t|ƒjS(s¥Given an object, return the primary Mapper associated with the object
    instance.

    Raises :class:`sqlalchemy.orm.exc.UnmappedInstanceError`
    if no mapping is configured.

    This function is available via the inspection system as::

        inspect(instance).mapper

    Using the inspection system will raise
    :class:`sqlalchemy.exc.NoInspectionAvailable` if the instance is
    not part of a mapping.

    (tobject_stateR(R7((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt
object_mapperúscCs2t|ƒ}|dkr*tj|ƒ‚n|SdS(sµGiven an object, return the :class:`.InstanceState`
    associated with the object.

    Raises :class:`sqlalchemy.orm.exc.UnmappedInstanceError`
    if no mapping is configured.

    Equivalent functionality is available via the :func:`.inspect`
    function as::

        inspect(instance)

    Using the inspection system will raise
    :class:`sqlalchemy.exc.NoInspectionAvailable` if the instance is
    not part of a mapping.

    N(t_inspect_mapped_objectR2RtUnmappedInstanceError(R7R<((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyRB
scCs>yt|ƒSWn)tjk
r%dStjk
r9dSXdS(N(R6RtUnmappedClassErrorR2tNO_STATE(R7((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyRD%scCs8tj|tƒ}|dk	r%|jStj|ƒ‚dS(N(RtinspecttFalseR2RRRF(tclass_or_mappertinsp((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_class_to_mapper1scCs-tj|tƒ}|dk	r%|jSdSdS(s\Return the :class:`.Mapper` for the given class or None if the
    class is not mapped.
    N(RRHRIR2R(tentityRK((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_mapper_or_none9scCs8tj|tƒ}|dk	o7|jo7|jp7|jS(shReturn True if the given object is a mapped class,
    :class:`.Mapper`, or :class:`.AliasedClass`.
    N(RRHRIR2tis_clause_elementt	is_mappertis_aliased_class(RMRK((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_is_mapped_classEs
cCs't|dƒr|jStj|ƒSdS(Ntkey(thasattrRSRt_column_as_key(tattr((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_attr_as_keyRscCs[tj|tƒ}t|dƒrPt|jdƒrPg|jjD]}|^q@S|gSdS(Nt
selectabletc(RRHRIRTRXRY(RMRKRY((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_orm_columnsYs!cCs.tj|tƒ}|dk	o-t|dtƒS(NRQ(RRHRIR2tgetattr(RMRK((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_is_aliased_classascCs¯tj|ƒ}|jr*|}|j}nC|jrE|j}|}n(t|dƒrg|jj}}n|}yt	||ƒSWn*t
k
rªtjd||fƒ‚nXdS(sŽReturn a class attribute given an entity and string name.

    May return :class:`.InstrumentedAttribute` or user-defined
    attribute.

    Rs Entity '%s' has no property '%s'N(
RRHt
is_selectableRYRQRMRTRR9R[tAttributeErrortsa_exctInvalidRequestError(RMRSRKtdescription((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_entity_descriptorgs 				
smanager.mappercCsby&t|ƒ}|jsdS|j}Wntjk
r=dSX|rZ|jrZ|jƒn|SdS(N(R4t	is_mappedR2RRRGt_new_mapperst_configure_all(R9t	configuret
class_managerR((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt_inspect_mapped_class…s	

cCs`t|d|ƒ}|dkrXt|tƒsFtjd|fƒ‚ntj|ƒ‚n|SdS(sâGiven a class, return the primary :class:`.Mapper` associated
    with the key.

    Raises :exc:`.UnmappedClassError` if no mapping is configured
    on the given class, or :exc:`.ArgumentError` if a non-class
    object is passed.

    Equivalent functionality is available via the :func:`.inspect`
    function as::

        inspect(some_mapped_class)

    Using the inspection system will raise
    :class:`sqlalchemy.exc.NoInspectionAvailable` if the class is not mapped.

    Rfs Class object expected, got '%r'.N(RhR2t
isinstancettypeR_t
ArgumentErrorRRF(R9RfR((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pytclass_mapper”stInspectionAttrcBsDeZdZdZeZeZeZeZeZ	eZ
eZeZ
RS(s A base class applied to all ORM objects that can be returned
    by the :func:`.inspect` function.

    The attributes defined here allow the usage of simple boolean
    checks to test basic facts about the object returned.

    While the boolean checks here are basically the same as using
    the Python isinstance() function, the flags here can be used without
    the need to import all of these classes, and also such that
    the SQLAlchemy class system can change while leaving the flags
    here intact for forwards-compatibility.

    ((R%t
__module__t__doc__t	__slots__RIR]RQtis_instanceRPtis_propertytis_attributeROR!textension_type(((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyRm¯s
tInspectionAttrInfocBs eZdZejd„ƒZRS(sAdds the ``.info`` attribute to :class:`.InspectionAttr`.

    The rationale for :class:`.InspectionAttr` vs. :class:`.InspectionAttrInfo`
    is that the former is compatible as a mixin for classes that specify
    ``__slots__``; this is essentially an implementation artifact.

    cCsiS(sRInfo dictionary associated with the object, allowing user-defined
        data to be associated with this :class:`.InspectionAttr`.

        The dictionary is generated when first accessed.  Alternatively,
        it can be specified as a constructor argument to the
        :func:`.column_property`, :func:`.relationship`, or :func:`.composite`
        functions.

        .. versionadded:: 0.8  Added support for .info to all
           :class:`.MapperProperty` subclasses.

        .. versionchanged:: 1.0.0 :attr:`.MapperProperty.info` is also
           available on extension types via the
           :attr:`.InspectionAttrInfo.info` attribute, so that it can apply
           to a wider variety of ORM and extension constructs.

        .. seealso::

            :attr:`.QueryableAttribute.info`

            :attr:`.SchemaItem.info`

        ((R)((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pytinfoûs(R%RnRoRtmemoized_propertyRv(((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyRuòst_MappedAttributecBseZdZdZRS(sVMixin for attributes which should be replaced by mapper-assigned
    attributes.

    ((R%RnRoRp(((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyRxs(smapperR(LRotRRRR_tsqlRtoperatortsymbolRRRRRR	RRR
RRRRRRRRRRR1tDEFAULT_STATE_ATTRt
_INSTRUMENTORRRRRR R!t	frozensett
_never_setR2t	_none_sett_SET_DEFERRED_EXPIREDt_DEFER_FOR_STATER.R4t
attrgetterR6t
instance_dictR8R5R=R@RARCRBt	_inspectstobjectRDRLRNRRRWRZR\Rbtdottedgettert
_state_mapperRjRIRhtTrueRlRmRuRx(((sH/home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/base.pyt<module>
sê								




																	
				C%