Module Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Num attr If UnaryOpNot NameLoad body Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Return Str Return Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad NameLoad body Return orelse Raise Call NameLoad Str NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Return Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad Raise Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str IfExp NameLoad Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Return ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Return ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A logging N/A simplejson kingpin.kazoo_utils KazooClientManager kingpin.config_utils ZKBaseConfigManager N/A log N/A N/A logging getLogger __name__ N/A ZK_DOWNLOAD_DATA_PREFIX None N/A METACONFIG_ZK_PATH_FORMAT /metaconfig/metaconfig/{} N/A DEPENDENCY_ZK_PATH_FORMAT /metaconfig/dependency/{} N/A ZK_DOWNLOAD_DATA_SERVERSET_FORMAT zk_download_data.py -f /var/serverset/{} -p {} -m serverset N/A ZK_DOWNLOAD_DATA_CONFIGV2_FORMAT zk_download_data.py -f /var/config/{} --from-s3 {} -m config -p {} MetaConfigManager N/A object N/A N/A 
    A manager which handles all dependencies and manageddata / serversets via MetaConfigs.

    MetaConfig: Configurations which tell zk_update_monitor how to update / download serverset or configurations.
    One MetaConfig example (in json):
         [
            {
                "config_section_name": "config.manageddata.spam.test_grey_list",
                "zk_path": "/config/manageddata/spam/test_grey_list",
                "command": "zk_download_data.py -f /var/config/config.manageddata.spam.test_grey_list --from-s3 /data/config/manageddata/spam/test_grey_list -m config -p /config/manageddata/spam/test_grey_list",
                "type": "config",
                "max_wait_in_secs": 0
            }
         ]

    The manager has the following capabilities:
    1. Create / update a MetaConfig and archive the history to S3 using ZKConfigManager.
    2. Create a new dependency ZK Node
    3. Add a metaconfig to existing dependency
    4. Some templating : Auto-generating the Zk_download_data command for serverset / configv1 / configv2
    5. Convert a .conf metaconfig file into json formatted metaconfig

     __init__ N/A N/A self zk_hosts aws_keyfile s3_bucket s3_endpoint N/A s3.amazonaws.com N/A N/A 
        To initialize the MetaConfigManager.

        Args:
            zk_hosts: The zookeeper hosts that MetaConfig manager need to put dependencies to.
            aws_keyfile: The aws key file which contains aws access and secret keys.
            s3_bucket: the s3 bucket that stores the metaconfigs.
            s3_endpoint: the s3 endpoint which stores the metaconfigs.
         N/A N/A self zk_hosts zk_hosts N/A N/A self aws_keyfile aws_keyfile N/A N/A self s3_bucket s3_bucket N/A N/A self s3_endpoint s3_endpoint N/A N/A N/A N/A N/A self _kazoo_client ensure_path /metaconfig/metaconfig N/A N/A N/A N/A N/A self _kazoo_client ensure_path /metaconfig/dependency N/A _kazoo_client N/A N/A self N/A N/A N/A kazoo_client N/A N/A N/A KazooClientManager N/A self zk_hosts start_timeout 200.0 session_timeout 200.0 get_client N/A N/A kazoo_client N/A N/A N/A N/A N/A KazooClientManager N/A self zk_hosts _reconnect N/A kazoo_client N/A N/A N/A KazooClientManager N/A self zk_hosts get_client N/A kazoo_client N/A _construct_absolute_dependency_leaf_node N/A N/A self source destination N/A N/A N/A destination_zk_path N/A N/A DEPENDENCY_ZK_PATH_FORMAT format destination N/A N/A N/A {}/{} format destination_zk_path source N/A get_metaconfig_content N/A N/A self metaconfig_name N/A N/A N/A 
        Get the JSON format of MetaConfig from S3.

        Args:
            metaconfig_name: the metaconfig's name.

        Returns:
            the content of metaconfig in json string
         N/A metaconfig_zk_path N/A N/A METACONFIG_ZK_PATH_FORMAT format metaconfig_name N/A N/A N/A N/A N/A N/A self _kazoo_client exists metaconfig_zk_path N/A N/A N/A N/A N/A N/A ZKBaseConfigManager N/A self zk_hosts metaconfig_zk_path N/A self aws_keyfile N/A self s3_bucket s3_endpoint N/A self s3_endpoint get_data N/A add_to_dependency N/A N/A self destination_dependency new_member N/A N/A N/A 
        Add a metaconfig / dependency to another dependency.
        The metaconfig / dependency should already exist.

        Args:
            destination_dependency:
                    The destination dependnecy to be added to.
                    Should be always been ended with ".dep"
            new_member: the source dependency / metaconfig to add to destination_dependency.
                        If a dependency, should end with .dep

        Returns:
            Throwing exception if the operation is failed.
         N/A destination_zk_path N/A N/A DEPENDENCY_ZK_PATH_FORMAT format destination_dependency N/A N/A N/A N/A N/A self _kazoo_client ensure_path destination_zk_path N/A N/A N/A new_member endswith .dep N/A N/A source_zk_path N/A N/A DEPENDENCY_ZK_PATH_FORMAT format new_member N/A N/A source_zk_path N/A N/A METACONFIG_ZK_PATH_FORMAT format new_member N/A N/A N/A N/A N/A N/A self _kazoo_client exists source_zk_path N/A N/A N/A Exception The source MetaConfig/Dep does not exist N/A znode_path_added_to_dependency N/A N/A self _construct_absolute_dependency_leaf_node new_member destination_dependency N/A N/A N/A N/A N/A self _kazoo_client exists znode_path_added_to_dependency N/A N/A N/A Exception The dependency has already been added N/A N/A N/A returned_path N/A N/A N/A N/A self _kazoo_client create znode_path_added_to_dependency N/A N/A returned_path znode_path_added_to_dependency N/A N/A N/A N/A N/A Exception Failed to add dependency because the returned path doesn't equal to desired path.Desired: %s, Actual Returned: %s znode_path_added_to_dependency returned_path N/A N/A N/A Exception N/A e N/A N/A N/A Exception Failed to add dependency: %s e N/A create_dependency N/A N/A self dependency_name N/A N/A N/A 
        Create a new dependency for metaconfigs.

        Args:
            dependency_name: must ending with ".dep"

        return:
            Throwing exception is the operation is failed
         N/A N/A N/A N/A dependency_name endswith .dep N/A N/A N/A Exception The dpendency name should be ended with '.dep' N/A zk_path N/A N/A DEPENDENCY_ZK_PATH_FORMAT format dependency_name N/A N/A N/A N/A N/A self _kazoo_client ensure_path zk_path N/A dependency_exists N/A N/A self dependency_name N/A N/A N/A 
        Check if dependency already exists.

        Args:
            dependency_name: must ending with ".dep"

        Returns:
            True if exist, false if not
         N/A dependency_zk_path N/A N/A DEPENDENCY_ZK_PATH_FORMAT format dependency_name N/A N/A N/A N/A N/A self _kazoo_client exists dependency_zk_path N/A N/A True N/A N/A False N/A is_member_of_dependency N/A N/A self dependency_name metaconfig_name N/A N/A N/A 
        Check if the metaconfig is already been added to the dependency.

        Args:
            dependency_name: the dependency name
            metaconfig_name: the metaconfig name

        Returns:
            True is already added, false if not.
         N/A znode_path_added_to_dependency N/A N/A self _construct_absolute_dependency_leaf_node metaconfig_name dependency_name N/A N/A N/A N/A N/A self _kazoo_client exists znode_path_added_to_dependency N/A N/A True N/A N/A False N/A remove_dependency N/A N/A self destination_dependency member_to_remove N/A N/A N/A 
        Remove a metaconfig / dependency from another dependency.

        Args:
            destination_dependency:
                    The destination dependnecy to be removed from.
                    Should be always been ended with ".dep"
            member_to_remove:
                    the member under that dependency to remove.

        Returns:
            Throwing exception if the operation is failed.
         N/A destination_zk_path N/A N/A DEPENDENCY_ZK_PATH_FORMAT format destination_dependency N/A N/A N/A N/A N/A N/A self _kazoo_client exists destination_zk_path N/A N/A N/A Exception The dependency to delete from doesn't exist N/A znode_path_deleted_from_dependency N/A N/A self _construct_absolute_dependency_leaf_node member_to_remove destination_dependency N/A N/A N/A N/A N/A N/A self _kazoo_client exists znode_path_deleted_from_dependency N/A N/A N/A Exception The dependency relation doesn't exist N/A N/A N/A N/A N/A N/A N/A self _kazoo_client delete znode_path_deleted_from_dependency N/A N/A N/A Exception N/A e N/A N/A N/A Exception Failed to remove dependency: %s e N/A get_dependency_members N/A N/A self dependency_name N/A N/A N/A 
        Get a list of names of dependency members of a dependency

        Args:
            dependency_name: the name of dependency (should end with .dep)

        Returns:
            a list of dependency member names
         N/A dependency_path N/A N/A DEPENDENCY_ZK_PATH_FORMAT format dependency_name N/A N/A N/A N/A N/A self _kazoo_client get_children dependency_path N/A update_metaconfig N/A N/A self name content N/A N/A N/A 
        Put Metaconfig in S3 and create correcponding ZK nodes.
        We will reuse the logic in config_utils to guarantee the writes to both S3 and ZkNode.
        In this case, because we don't sync MetaConfig to local files, we will always turn force_update to True
        so the change will be populated to Zookeeper and S3.
        We will also enable audit history for all changes related to MetaConfig contents.

        If the MetaConfig is not in ZK, we will foce create it, if it is in ZK, we will update it.
        Args:
            name: the name of config. For example, discovery.serverset.prod
            content: the content of the MetaConfig, should be in JSON format.

        Returns:
            True if successfully updated, otherwise execption is thrown.
         N/A metaconfig_zk_path N/A N/A METACONFIG_ZK_PATH_FORMAT format name N/A N/A N/A N/A N/A N/A ZKBaseConfigManager N/A self zk_hosts metaconfig_zk_path N/A self aws_keyfile N/A self s3_bucket s3_endpoint N/A self s3_endpoint update_zk None content force_update True N/A N/A N/A Exception N/A e N/A N/A N/A Exception Failed to create MetaConfig: %s e N/A metaconfig_exists N/A N/A self name N/A N/A N/A 
        Check if the metaconfig already exists.

        Args:
            name: the name of metaconfig.

        Returns:
            True if exists, False if not.
         N/A metaconfig_zk_path N/A N/A METACONFIG_ZK_PATH_FORMAT format name N/A N/A N/A N/A N/A self _kazoo_client exists metaconfig_zk_path N/A N/A True N/A N/A False N/A create_default_metaconfig_for_config N/A N/A self name config_zk_path N/A N/A N/A 
        A shortcut to create a metaconfig for config using the default template.
        Also create the zk node for the config according to the zk_path passed in.

        Args:
            name: the name of config. For example,
                config.manageddata.admin.decider
            config_zk_path: the zookeeper path mapping to this config

        Returns:
            throw exception if creation failed. Otherwise return the metaconfig body.
         N/A N/A N/A N/A N/A self _kazoo_client ensure_path config_zk_path N/A download_command N/A N/A self construct_zk_download_data_command_for_config config_zk_path N/A metaconfig_content N/A N/A self construct_metaconfig_with_single_section name config_zk_path download_command N/A N/A N/A N/A N/A self update_metaconfig name metaconfig_content N/A N/A N/A N/A N/A N/A self remove_metaconfig name N/A N/A metaconfig_content N/A create_default_metaconfig_for_serverset N/A N/A self name serverset_zk_path N/A N/A N/A 
        A shortcut to create a serverset using the default template.
        Also create the zk node for the serverset according to the zk_path passed in.

        Args:
            name: the name of serverset. For example, /discovery/dataservices/prod
            serverset_zk_path: the zookeeper path mapping to this serverset

        Returns:
            throw exception if creation failed. Otherwise return the metaconfig body
         N/A N/A N/A N/A N/A self _kazoo_client ensure_path serverset_zk_path N/A download_command N/A N/A self construct_zk_download_data_command_for_serverset serverset_zk_path N/A metaconfig_content N/A N/A self construct_metaconfig_with_single_section name serverset_zk_path download_command is_serverset True N/A N/A N/A self update_metaconfig name metaconfig_content N/A metaconfig_content N/A update_metaconfig_with_dict N/A N/A self name metaconfig_content_dict N/A N/A N/A 
        Update the metaconfig content with the python dict format.
        Args:
            name: the name of config. For example, discovery.serverset.prod
            content: the content of the MetaConfig, should be in dict format.

        Returns:
            True if successfully updated, otherwise execption is thrown.
         N/A content N/A N/A simplejson dumps metaconfig_content_dict N/A N/A N/A self create_metaconfig name content N/A _construct_single_metaconfig_section N/A N/A self config_section_name zk_path command max_wait_in_secs is_serverset N/A 0 False N/A N/A 
        Used to construct the json content of a MetaConfig section.
        A MetaConfig can have different sections, which is an array of multiple section dict in JSON format.
        Args:
            config_section_name: this is for backward compatibility. When we use old version of MetaConfig
            as a file on the disk, this is used for python config parser to get metaconfig body. ZUM also
            keeps it.
            zk_path: the zookeeper path of the config (NOTE: not the metaconfig)
            command: the command which tells zk_download_data.py how to download the data to local disk.
            max_wait_in_secs: seconds that ZUM will delay the download of configs once get an update. Usually 0.
            is_serverset: whether this MetaConfig is for serverset? False if it is for ConfigV1 /ConfigV2.

        Returns:
            A dict of single metaconfig section.
         N/A content_dict N/A config_section_name zk_path max_wait_in_secs command config_section_name zk_path max_wait_in_secs command N/A N/A content_dict N/A type N/A is_serverset serverset config N/A content_dict N/A construct_metaconfig_with_single_section N/A N/A self config_section_name zk_path command max_wait_in_secs is_serverset N/A 0 False N/A N/A 
        Ideally a metaconfig should have only one section.
        This method is used for creating a metaconfig with only one section.
        Args:
            config_section_name: this is for backward compatibility. When we use old version of MetaConfig
            as a file on the disk, this is used for python config parser to get metaconfig body. ZUM also
            keeps it.
            zk_path: the zookeeper path of the config (NOTE: not the metaconfig)
            command: the command which tells zk_download_data.py how to download the data to local disk.
            max_wait_in_secs: seconds that ZUM will delay the download of configs once get an update. Usually 0.
            is_serverset: whether this MetaConfig is for serverset? False if it is for ConfigV1 /ConfigV2.

        Returns:
            A json blob of metaconfig content.
         N/A metaconfig N/A N/A N/A self _construct_single_metaconfig_section config_section_name zk_path command max_wait_in_secs max_wait_in_secs is_serverset is_serverset N/A N/A N/A simplejson dumps metaconfig N/A construct_zk_download_data_command_for_serverset N/A N/A self serverset_zk_path serverset_file_name N/A None N/A N/A N/A N/A N/A serverset_zk_path startswith /discovery/ N/A N/A N/A Exception The serverset zk path should start with '/discovery/'. For example: /discovery/userservice/prod N/A N/A serverset_file_name N/A N/A serverset_file_name N/A N/A . join N/A N/A N/A serverset_zk_path split / N/A 1 N/A N/A N/A ZK_DOWNLOAD_DATA_SERVERSET_FORMAT format serverset_file_name serverset_zk_path N/A construct_zk_download_data_command_for_config N/A N/A self config_zk_path config_local_filename s3_path N/A None None N/A N/A N/A N/A N/A config_zk_path startswith /config/ N/A N/A N/A Exception The configv2 zk path should start with '/config/', for example /config/manageddata/growth/popular_nux_topic_list or /config/services/pinlater N/A N/A config_local_filename N/A N/A config_local_filename N/A N/A . join N/A N/A N/A config_zk_path split / N/A 1 N/A N/A s3_path N/A N/A s3_path N/A N/A /data{} format config_zk_path N/A N/A N/A ZK_DOWNLOAD_DATA_CONFIGV2_FORMAT format config_local_filename s3_path config_zk_path N/A remove_metaconfig N/A N/A self metaconfig_name N/A N/A N/A metaconfig_path N/A N/A METACONFIG_ZK_PATH_FORMAT format metaconfig_name N/A metaconfig_lock_path N/A metaconfig_path .lock N/A transaction N/A N/A N/A N/A self _kazoo_client transaction N/A N/A N/A transaction delete metaconfig_path N/A N/A N/A transaction delete metaconfig_lock_path N/A N/A N/A transaction commit N/A get_all_metaconfigs N/A N/A self N/A N/A N/A parent_node /metaconfig/metaconfig N/A children N/A N/A N/A N/A self _kazoo_client get_children parent_node N/A N/A child N/A child children N/A N/A N/A child endswith .lock N/A get_all_dependencies N/A N/A self N/A N/A N/A parent_node /metaconfig/dependency N/A children N/A N/A N/A N/A self _kazoo_client get_children parent_node N/A N/A child N/A child children N/A N/A N/A child endswith .lock N/A N/A