Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad kwarg body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad orelse Assign NameStore Call NameLoad keyword NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad TupleLoad BoolOpOr NameLoad NameLoad AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str Str Str body Expr Call NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body If Call AttributeLoad NameLoad attr Str body Continue If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call NameLoad NameLoad NameLoad Call NameLoad keyword Call NameLoad Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call NameLoad NameLoad NameLoad Call NameLoad keyword Call NameLoad Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad keyword Call NameLoad Lambda arguments args NameParam NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword Call NameLoad Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareIn Str NameLoad body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str orelse Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list decorator_list Assign NameStore NameStore NameLoad Assign NameStore NameStore NameLoad
N/A functools partial operator getitem delitem setitem six.moves.urllib.parse urlparse urljoin weakref WeakValueDictionary N/A collections N/A requests potion_client.converter PotionJSONDecoder PotionJSONSchemaDecoder potion_client.resource Reference Resource potion_client.links Link potion_client.utils upper_camel_case snake_case Client N/A object N/A __init__ N/A N/A self api_root_url schema_path fetch_schema N/A /schema True session_kwargs N/A N/A N/A self _instances N/A WeakValueDictionary N/A N/A self _resources N/A N/A N/A self session session N/A N/A requests Session N/A N/A key value N/A N/A session_kwargs items N/A N/A N/A setattr session key value N/A parse_result N/A urlparse api_root_url N/A N/A self _root_url N/A N/A {}://{} format N/A parse_result scheme N/A parse_result netloc N/A N/A self _api_root_url api_root_url N/A N/A self _root_path N/A parse_result path N/A N/A self _schema_url N/A api_root_url schema_path N/A fetch_schema N/A N/A N/A N/A self _fetch_schema N/A _fetch_schema N/A N/A self N/A N/A N/A schema N/A N/A N/A N/A N/A self session get N/A self _schema_url json cls PotionJSONSchemaDecoder referrer N/A self _schema_url client self N/A N/A name resource_schema N/A N/A N/A schema N/A properties items N/A N/A resource N/A N/A self resource_factory name resource_schema N/A N/A setattr self N/A upper_camel_case name resource N/A instance N/A N/A self uri cls default N/A None None kwargs N/A N/A instance N/A N/A N/A self _instances get uri None N/A N/A instance None N/A N/A N/A cls None N/A N/A N/A N/A cls N/A N/A self _resources N/A N/A uri N/A N/A N/A uri rfind / N/A N/A N/A KeyError N/A N/A cls Reference N/A N/A N/A isinstance default Resource N/A N/A default uri None N/A N/A N/A default _status 200 N/A N/A default _uri uri N/A instance default N/A N/A instance N/A cls uri uri kwargs N/A N/A N/A self _instances N/A uri instance N/A instance N/A fetch N/A N/A self uri cls N/A PotionJSONDecoder kwargs N/A N/A response N/A N/A N/A self session get N/A urljoin N/A self _root_url uri True N/A N/A N/A response raise_for_status N/A N/A N/A response json cls cls client self referrer uri kwargs N/A resource_factory N/A N/A self name schema resource_cls N/A None N/A N/A 
        Registers a new resource with a given schema. The schema must not have any unresolved references
        (such as `{"$ref": "#"}` for self-references, or otherwise). A subclass of :class:`Resource`
        may be provided to add specific functionality to the resulting :class:`Resource`.

        :param str name:
        :param dict schema:
        :param Resource resource_cls: a subclass of :class:`Resource` or None
        :return: The new :class:`Resource`.
         N/A cls N/A type N/A str N/A upper_camel_case name N/A N/A resource_cls Resource N/A collections MutableMapping N/A __doc__ N/A N/A schema get description N/A N/A cls _schema schema N/A N/A cls _client self N/A N/A cls _links links N/A N/A link_schema N/A schema N/A links N/A N/A link N/A Link self rel N/A link_schema N/A rel href N/A link_schema N/A href method N/A link_schema N/A method schema N/A N/A link_schema get schema None target_schema N/A N/A link_schema get targetSchema None N/A N/A N/A link rel N/A self instances create update destroy N/A N/A N/A setattr cls N/A N/A _{} format N/A link rel link N/A N/A links N/A N/A link rel link N/A N/A N/A link rel update N/A N/A N/A setattr cls N/A snake_case N/A link rel link N/A N/A property_name property_schema N/A N/A N/A schema N/A properties items N/A N/A N/A N/A property_name startswith $ N/A N/A N/A N/A N/A property_schema get readOnly False N/A N/A N/A setattr cls property_name N/A property fget N/A partial N/A N/A N/A name obj N/A N/A getitem obj name property_name doc N/A N/A property_schema get description None N/A N/A N/A setattr cls property_name N/A property fget N/A partial N/A N/A N/A name obj N/A N/A getitem obj name property_name fset N/A partial N/A N/A N/A name obj value N/A N/A setitem obj name value property_name fdel N/A partial N/A N/A N/A name obj N/A N/A delitem obj name property_name doc N/A N/A property_schema get description None N/A root None N/A N/A instances links N/A N/A root N/A N/A cls _instances href N/A N/A N/A self links N/A N/A root N/A N/A N/A cls _self href N/A N/A N/A N/A N/A cls _self href rfind / N/A N/A root N/A N/A N/A self _root_path / N/A N/A name replace _ - N/A N/A N/A self _resources N/A root cls N/A cls N/A N/A N/A ASC ASCENDING False N/A DESC DESCENDING True