Module Expr Str Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg body Return Call NameLoad ListComp IfExp Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Call NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Yield TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Yield TupleLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list
N/A N/A versioning.py

GLUDB versioning implementation
 N/A json N/A datetime N/A json_delta utils now_field VersioningTypes N/A object N/A N/A NONE ver:none N/A DELTA_HISTORY ver:delta N/A _isstr N/A N/A s N/A N/A N/A N/A N/A _basestring basestring N/A N/A N/A NameError N/A N/A _basestring str N/A N/A isinstance s _basestring N/A _norm_json_params N/A N/A N/A args N/A N/A N/A tuple N/A N/A N/A _isstr param N/A N/A json loads param param N/A param args N/A record_diff N/A N/A old new N/A N/A N/A Return a JSON-compatible structure capable turn the `new` record back
    into the `old` record. The parameters must be structures compatible with
    json.dumps *or* strings compatible with json.loads. Note that by design,
    `old == record_patch(new, record_diff(old, new))` N/A N/A old new N/A _norm_json_params old new N/A N/A N/A json_delta diff new old verbose False N/A record_patch N/A N/A rec diff N/A N/A N/A Return the JSON-compatible structure that results from applying the
    changes in `diff` to the record `rec`. The parameters must be structures
    compatible with json.dumps *or* strings compatible with json.loads. Note
    that by design, `old == record_patch(new, record_diff(old, new))` N/A N/A rec diff N/A _norm_json_params rec diff N/A N/A N/A json_delta patch rec diff in_place False N/A append_diff_hist N/A N/A diff diff_hist N/A N/A list N/A N/A Given a diff as generated by record_diff, append a diff record to the
    list of diff_hist records. N/A N/A diff diff_hist N/A _norm_json_params diff diff_hist N/A N/A diff_hist N/A N/A diff_hist N/A list N/A N/A N/A diff_hist append N/A diff diff_date diff N/A now_field N/A diff_hist N/A parse_diff_hist N/A N/A curr_obj diff_hist N/A N/A N/A Given a diff_hist as created, appended by append_diff_hist, yield the
    versions of the object start with curr_obj and working backwards in time.
    Each instance yielded is of the form (obj, date-string) where obj is the
    JSON version of the object created by applying a diff in the
    diff history and date-string is a string representing the date/time that
    the diff was taken N/A N/A curr_obj diff_hist N/A _norm_json_params curr_obj diff_hist N/A N/A N/A N/A N/A json dumps curr_obj None N/A last_obj curr_obj N/A one N/A reversed diff_hist N/A N/A last_obj N/A record_patch last_obj N/A one N/A diff N/A N/A N/A N/A N/A json dumps last_obj N/A one N/A diff_date N/A