Module Expr Str Assign NameStore Str ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Pass If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Return BinOpAdd NameLoad NameLoad orelse If Call AttributeLoad NameLoad attr Str body Return BinOpAdd BinOpAdd NameLoad Str NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad Call NameLoad Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad Dict Assign NameStore BoolOpOr NameLoad Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore BoolOpOr NameLoad Str Assign NameStore ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Return NameLoad orelse If NameLoad body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str If UnaryOpNot NameLoad body Return Assign NameStore SubscriptLoad NameLoad Index Num TryExcept body For NameStore NameLoad body If CompareGt Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad orelse Return IfExp NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd NameLoad CompareNotIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad TryExcept body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str If UnaryOpNot BoolOpAnd NameLoad NameLoad body Raise Call NameLoad Str If BoolOpOr UnaryOpNot CompareIs Call NameLoad NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad NameLoad body Return NameLoad orelse If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad kwarg body Expr Str If BoolOpOr UnaryOpNot CompareIs Call NameLoad NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str NameLoad If NameLoad body Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad Num Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad orelse Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Str Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad Num Assign NameStore ListLoad AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str kwarg body Expr Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list decorator_list
N/A N/A Directory is fronting a system-wide directory datastore containing system config and registrations. N/A __author__ Thomas R. Lennan, Michael Meisinger pyon.core bootstrap pyon.core.bootstrap CFG pyon.core.exception Inconsistent BadRequest pyon.datastore.datastore DataStore pyon.ion.event EventPublisher EventSubscriber pyon.ion.identifier create_unique_directory_id pyon.util.log log pyon.util.containers get_ion_ts interface.objects DirEntry Directory N/A object N/A N/A 
    Frontent to a directory functionality backed by the resource registry to provide a directory lookup mechanism.
    Terms:
      directory: instance of a Directory, representing entries within one Org. A tree of entries.
      path: parent+key (= qualified name of an entry). All paths start with '/'
      entry: node in the directory tree with a name (key) and parent path, holding arbitrary attributes
      key: local name of an entry
     __init__ N/A N/A self orgname datastore_manager events_enabled container N/A None None False None N/A N/A N/A self container N/A container N/A bootstrap container_instance N/A datastore_manager N/A datastore_manager N/A N/A self container datastore_manager N/A N/A self dir_store N/A N/A datastore_manager get_datastore N/A DataStore DS_DIRECTORY N/A N/A DataStore DS_PROFILE DIRECTORY N/A N/A self orgname N/A orgname N/A N/A CFG system root_org N/A N/A self is_root N/A N/A self orgname N/A N/A CFG system root_org N/A N/A self events_enabled events_enabled N/A N/A self event_pub None N/A N/A self event_sub None N/A start N/A N/A self N/A N/A N/A N/A N/A CFG system auto_bootstrap N/A N/A root_de N/A N/A self register / DIR sys_name N/A N/A bootstrap get_sys_name N/A N/A root_de None N/A N/A N/A N/A self events_enabled N/A N/A N/A self event_pub N/A EventPublisher N/A N/A self event_sub N/A EventSubscriber event_type ContainerConfigModifiedEvent origin Directory callback N/A self receive_directory_change_event N/A stop N/A N/A self N/A N/A N/A N/A N/A self close N/A close N/A N/A self N/A N/A N/A 
        Close directory and all resources including datastore and event listener.
         N/A N/A self event_sub N/A N/A N/A N/A N/A self event_sub deactivate N/A N/A N/A N/A self dir_store close N/A _get_path N/A N/A self parent key N/A N/A N/A 
        Returns the qualified directory path for a directory entry.
         N/A N/A parent / N/A N/A N/A parent key N/A N/A N/A N/A parent startswith / N/A N/A N/A N/A parent / key N/A N/A N/A BadRequest N/A Illegal parent: %s parent N/A _get_key N/A N/A self path N/A N/A N/A 
        Returns the key from a qualified directory path
         N/A N/A parent key N/A N/A path rsplit / 1 N/A key N/A _create_dir_entry N/A N/A self parent key orgname ts attributes N/A None None None N/A N/A 
        Standard way to create a DirEntry object (without persisting it)
         N/A orgname N/A orgname N/A self orgname N/A ts N/A ts N/A get_ion_ts N/A attributes N/A N/A attributes None attributes N/A N/A parent N/A parent / N/A de N/A DirEntry org orgname parent parent key key attributes attributes ts_created ts ts_updated ts N/A de N/A _read_by_path N/A N/A self path orgname N/A None N/A N/A 
        Given a qualified path, find entry in directory and return DirEntry
        object or None if not found.
        A side effect is to clean any but the most recent entries found for this path.
         N/A N/A path None N/A N/A N/A BadRequest Illegal arguments N/A orgname N/A orgname N/A self orgname N/A N/A parent key N/A N/A path rsplit / 1 N/A parent N/A parent / N/A find_key N/A orgname key parent N/A view_res N/A N/A N/A self dir_store find_by_view directory by_key key find_key id_only True convert_doc True N/A match N/A doc N/A N/A docid index doc view_res N/A N/A N/A len match 1 N/A N/A N/A N/A log warn N/A More than one directory entry found for key %s path N/A recent_match N/A N/A self _cleanup_outdated_entries match N/A path=%s path N/A recent_match N/A N/A match N/A N/A N/A match N/A 0 N/A None N/A _cleanup_outdated_entries N/A N/A self dir_entries common N/A key N/A N/A 
        This function takes all DirEntry from the list and removes all but the most recent one
        by ts_updated timestamp. It returns the most recent DirEntry and removes the others by
        direct datastore operations. If there are multiple entries with most recent timestamp, the
        first encountered is kept and the others non-deterministically removed.
        Note: This operation can be called for DirEntries without common keys, e.g. for all
        entries registering an agent for a device.
         N/A N/A dir_entries N/A N/A N/A newest_entry N/A dir_entries N/A 0 N/A N/A N/A de dir_entries N/A N/A N/A N/A int N/A de ts_updated N/A int N/A newest_entry ts_updated N/A N/A newest_entry de N/A remove_list N/A de N/A de dir_entries N/A de newest_entry N/A N/A N/A log info N/A Attempting to cleanup these directory entries: %s remove_list N/A de remove_list N/A N/A N/A N/A N/A N/A N/A self dir_store delete de N/A N/A N/A Exception N/A ex N/A N/A N/A N/A log warn N/A Removal of outdated %s directory entry failed: %s N/A common de N/A N/A N/A log info N/A Cleanup of %s old %s directory entries succeeded N/A N/A len remove_list common N/A N/A N/A Exception N/A ex N/A N/A N/A N/A log warn N/A Cleanup of multiple directory entries for %s failed: %s N/A common N/A str ex N/A newest_entry N/A lookup N/A N/A self parent key return_entry N/A None False N/A N/A 
        Read entry residing in directory at parent node level.
         N/A path N/A key N/A N/A self _get_path parent key parent N/A direntry N/A N/A self _read_by_path path N/A return_entry N/A N/A direntry N/A N/A N/A direntry N/A direntry attributes None N/A _get_unique_parents N/A N/A self entry_list N/A N/A N/A Returns a sorted, unique list of parents of DirEntries (excluding the root /) N/A N/A entry_list N/A N/A type entry_list N/A list tuple N/A N/A entry_list N/A entry_list N/A parents N/A set N/A entry entry_list N/A N/A N/A N/A parents add N/A entry parent N/A N/A / parents N/A N/A N/A N/A parents remove / N/A N/A sorted parents N/A _ensure_parents_exist N/A N/A self entry_list create N/A True N/A N/A parents_list N/A N/A self _get_unique_parents entry_list N/A pe_list N/A N/A N/A N/A parent parents_list N/A N/A pe N/A N/A self lookup parent N/A N/A pe None N/A N/A N/A pp pk N/A N/A parent rsplit / 1 N/A direntry N/A N/A self _create_dir_entry parent pp key pk N/A N/A N/A pe_list append direntry N/A create N/A N/A N/A N/A N/A self dir_store create direntry N/A create_unique_directory_id N/A N/A N/A Exception N/A ex N/A N/A N/A N/A log warn _ensure_parents_exist(): Error creating directory parents exc_info True N/A pe_list N/A register N/A N/A self parent key create_only N/A False kwargs N/A N/A 
        Add/replace an entry within directory, below a parent node or "/".
        Note: Replaces (not merges) the attribute values of the entry if existing
        @param create_only  If True, does not change an existing entry
        @retval  DirEntry if previously existing
         N/A N/A N/A parent key N/A N/A N/A BadRequest Illegal arguments N/A N/A N/A N/A N/A type parent str N/A N/A N/A parent startswith / N/A N/A N/A BadRequest Illegal arguments: parent N/A dn N/A N/A self _get_path parent key N/A N/A N/A log debug Directory.register(%s): %s dn kwargs N/A entry_old None N/A cur_time N/A get_ion_ts N/A direntry N/A N/A self _read_by_path dn N/A N/A direntry create_only N/A N/A direntry N/A N/A direntry N/A N/A entry_old N/A direntry attributes N/A N/A direntry attributes kwargs N/A N/A direntry ts_updated cur_time N/A N/A N/A N/A self dir_store update direntry N/A N/A direntry N/A N/A self _create_dir_entry parent key attributes kwargs ts cur_time N/A N/A N/A self _ensure_parents_exist N/A direntry N/A N/A N/A N/A self dir_store create direntry N/A create_unique_directory_id N/A entry_old N/A register_safe N/A N/A self parent key N/A kwargs N/A N/A 
        Use this method to protect caller from any form of directory register error
         N/A N/A N/A N/A N/A self register parent key kwargs N/A N/A N/A Exception N/A ex N/A N/A N/A N/A log exception N/A Error registering key=%s/%s, args=%s N/A parent key kwargs N/A register_mult N/A N/A self entries N/A N/A N/A 
        Registers multiple directory entries efficiently in one datastore access.
        Note: this fails of entries are currently existing, so works for create only.
         N/A N/A N/A type entries N/A list tuple N/A N/A N/A BadRequest Bad entries type N/A de_list N/A N/A cur_time N/A get_ion_ts N/A N/A parent key attrs entries N/A N/A direntry N/A N/A self _create_dir_entry parent key attributes attrs ts cur_time N/A N/A N/A de_list append direntry N/A pe_list N/A N/A self _ensure_parents_exist de_list create False N/A N/A N/A de_list extend pe_list N/A deid_list N/A N/A create_unique_directory_id N/A i N/A xrange N/A len de_list N/A N/A N/A N/A self dir_store create_mult de_list deid_list N/A unregister N/A N/A self parent key return_entry N/A None False N/A N/A 
        Remove entry from directory.
        Returns attributes of deleted DirEntry
         N/A path N/A key N/A N/A self _get_path parent key parent N/A N/A N/A log debug N/A Removing content at path %s path N/A direntry N/A N/A self _read_by_path path N/A direntry N/A N/A N/A N/A N/A self dir_store delete direntry N/A N/A direntry N/A return_entry N/A N/A N/A direntry attributes N/A N/A direntry N/A unregister_safe N/A N/A self parent key N/A N/A N/A N/A N/A N/A N/A self unregister parent key N/A N/A N/A Exception N/A ex N/A N/A N/A N/A log exception N/A Error unregistering key=%s/%s N/A parent key N/A find_child_entries N/A N/A self parent direct_only N/A / True kwargs N/A N/A 
        Return all child entries (ordered by path) for the given parent path.
        Does not return the parent itself. Optionally returns child of child entries.
        Additional kwargs are applied to constrain the search results (limit, descending, skip).
        @param parent  Path to parent (must start with "/")
        @param direct_only  If False, includes child of child entries
        @retval  A list of DirEntry objects for the matches
         N/A N/A N/A N/A N/A type parent str N/A N/A N/A parent startswith / N/A N/A N/A BadRequest N/A Illegal argument parent: %s parent N/A direct_only N/A N/A start_key N/A N/A self orgname parent 0 N/A end_key N/A N/A self orgname parent N/A res N/A N/A N/A self dir_store find_by_view directory by_parent start_key start_key end_key end_key id_only True convert_doc True kwargs N/A N/A path N/A N/A N/A parent N/A 1 split / N/A start_key N/A N/A self orgname path 0 N/A end_key N/A N/A self orgname N/A N/A list path N/A ZZZZZZ N/A res N/A N/A N/A self dir_store find_by_view directory by_path start_key start_key end_key end_key id_only True convert_doc True kwargs N/A match N/A value N/A N/A docid indexkey value res N/A match N/A find_by_key N/A N/A self key parent N/A None / kwargs N/A N/A 
        Returns a list of DirEntry for each directory entry that matches the given key name.
        If a parent is provided, only checks in this parent and all subtree.
        These entries are in the same org's directory but have different parents.
         N/A N/A key None N/A N/A N/A BadRequest Illegal arguments N/A N/A parent None N/A N/A N/A BadRequest Illegal arguments N/A start_key N/A N/A self orgname key parent N/A end_key N/A N/A self orgname key N/A parent ZZZZZZ N/A res N/A N/A N/A self dir_store find_by_view directory by_key start_key start_key end_key end_key id_only True convert_doc True kwargs N/A match N/A value N/A N/A docid indexkey value res N/A match N/A find_by_value N/A N/A self subtree attribute value N/A / None None kwargs N/A N/A 
        Returns a list of DirEntry with entries that have an attribute with the given value.
         N/A N/A attribute None N/A N/A N/A BadRequest Illegal arguments N/A N/A subtree None N/A N/A N/A BadRequest Illegal arguments N/A start_key N/A N/A self orgname attribute value subtree N/A end_key N/A N/A self orgname attribute value N/A subtree ZZZZZZ N/A res N/A N/A N/A self dir_store find_by_view directory by_attribute start_key start_key end_key end_key id_only True convert_doc True kwargs N/A match N/A value N/A N/A docid indexkey value res N/A match N/A remove_child_entries N/A N/A self parent delete_parent N/A False N/A N/A N/A _assert_existence N/A N/A self parent key N/A kwargs N/A N/A 
        Make sure an entry is in the directory.
        @retval True if entry existed
         N/A dn N/A N/A self _get_path parent key N/A direntry N/A N/A self _safe_read dn N/A existed N/A bool direntry N/A N/A direntry N/A N/A cur_time N/A get_ion_ts N/A parent_dn N/A N/A self _get_path parent N/A direntry N/A DirEntry parent parent_dn key key attributes kwargs ts_created cur_time ts_updated cur_time N/A N/A N/A N/A self dir_store create direntry dn N/A existed N/A receive_directory_change_event N/A N/A self event_msg headers N/A N/A N/A N/A N/A