Module Import alias alias alias FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareIn NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore SubscriptLoad NameLoad Slice Num body If BoolOpOr CompareNotIn NameLoad NameLoad UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign NameStore SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Dict Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Dict NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign SubscriptStore NameLoad Index Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Return SubscriptLoad NameLoad Index Call AttributeLoad Str attr NameLoad decorator_list decorator_list
N/A N/A copy os pickle _dict_merge N/A N/A a b N/A N/A N/A N/A N/A N/A isinstance b dict N/A N/A isinstance a dict N/A N/A b N/A result N/A N/A copy deepcopy a N/A N/A k v N/A N/A b iteritems N/A N/A N/A N/A k result N/A isinstance N/A result N/A k dict N/A N/A N/A result N/A k N/A _dict_merge N/A result N/A k v N/A N/A N/A result N/A k N/A N/A copy deepcopy v N/A result N/A _expand_dict N/A N/A d keylist N/A N/A N/A k N/A keylist N/A -1 N/A N/A N/A N/A k d N/A N/A isinstance N/A d N/A k dict N/A N/A N/A d N/A k N/A N/A d N/A d N/A k N/A d N/A Properties N/A N/A __init__ N/A N/A self save_path N/A None kwargs N/A N/A N/A self _dict N/A N/A kwargs get defaults N/A N/A N/A self save_path save_path N/A N/A self save_path N/A N/A N/A N/A N/A os path exists N/A self save_path N/A N/A N/A open N/A self save_path f N/A N/A N/A self _dict N/A N/A pickle load f N/A __getitem__ N/A N/A self subkey N/A N/A N/A keylist N/A N/A subkey split / N/A d N/A self _dict N/A k N/A keylist N/A -1 N/A N/A d N/A d N/A k N/A N/A N/A d get N/A keylist N/A -1 N/A N/A __setitem__ N/A N/A self subkey value N/A N/A N/A Set a value, merging keys and values in a dict onto a subkey in the properties N/A keylist N/A N/A subkey split / N/A d N/A _expand_dict N/A self _dict keylist N/A last_key N/A keylist N/A -1 N/A N/A d N/A last_key N/A _dict_merge N/A N/A d get last_key N/A value N/A N/A self save_path N/A N/A dirname N/A N/A N/A os path dirname N/A self save_path N/A N/A N/A N/A N/A os path exists dirname N/A N/A N/A N/A os makedirs dirname N/A N/A open N/A self save_path w f N/A N/A N/A N/A pickle dump N/A self _dict f N/A export N/A N/A self N/A N/A N/A Export the properties to a map suitable for JSONificaiton N/A N/A N/A copy deepcopy N/A self _dict N/A update_in N/A N/A self N/A args N/A N/A Assign a value by treating the arguments as elements in a key path, 
    except the final argument which is used as the value

    >>> p = Properties()
    >>> p.update_in('one', 'two', 'three', 4)
    >>> p.export()
    {'one': {'two': {'three': 4}}} N/A N/A self N/A N/A N/A / join N/A args N/A -1 N/A args N/A -1 N/A get_in N/A N/A self N/A args N/A N/A Get a value by treating the arguments as elements in a key path

    >>> p = Properties()
    >>> p['one/two/three'] = 4
    >>> p.get_in('one', 'two', 'three')
    4 N/A N/A self N/A N/A N/A / join args N/A N/A