Module ImportFrom alias alias alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If SubscriptLoad NameLoad Index Str body If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad SubscriptLoad NameLoad Index Str If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad SubscriptLoad NameLoad Index Str If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call NameLoad Call NameLoad NameLoad Str body Pass orelse If UnaryOpNot CompareEq Call NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot CompareEq Call NameLoad Call NameLoad NameLoad Str body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot CompareEq Call NameLoad Call NameLoad NameLoad Str body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str For NameStore Call NameLoad Num Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Pass orelse If BoolOpAnd CompareIn NameLoad NameLoad CompareEq NameLoad Str body AugAssignAdd NameStore BinOpAdd BinOpAdd Str SubscriptLoad NameLoad Index NameLoad Str orelse If CompareIn NameLoad ListLoad Str Str body AugAssignAdd NameStore BinOpAdd Str NameLoad orelse AugAssignAdd NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Str orelse If CompareIn Str NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Str orelse If CompareIn Str NameLoad body If UnaryOpNot CompareIn Str NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If CompareLtE Call NameLoad Call NameLoad NameLoad Num body Return NameLoad orelse If CompareEq Call NameLoad Call NameLoad NameLoad Num body Return Call NameLoad BinOpDiv NameLoad Num orelse If BoolOpAnd CompareGt Call NameLoad Call NameLoad NameLoad Num CompareLt Call NameLoad Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Assign NameStore BinOpSub Call NameLoad Call NameLoad NameLoad Num Assign NameStore BinOpPow Num NameLoad Assign NameStore Call NameLoad BinOpDiv NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad BinOpSub Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad Num Num Num attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad Str body Assign NameStore Num orelse If CompareEq NameLoad Str body Assign NameStore Num orelse If CompareEq NameLoad Str body Assign NameStore Num orelse If CompareEq NameLoad Str body Assign NameStore BinOpMult Num Num orelse If CompareEq NameLoad Str body Assign NameStore BinOpMult BinOpMult Num Num Num orelse If CompareEq NameLoad Str body Assign NameStore BinOpMult BinOpMult Num Num Num orelse If CompareEq NameLoad Str body Assign NameStore BinOpMult BinOpMult Num Num Num orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return BinOpSub NameLoad BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str For NameStore ListLoad Str Str Str Str Str Str Str Str body If CompareLt Call NameLoad NameLoad Num body Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AugAssignDiv NameStore Num Return BinOpMod Str TupleLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot Call NameLoad NameLoad Call NameLoad Call NameLoad body Assign NameStore ListLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If NameLoad body Return Call AttributeLoad Str attr Call NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs Call NameLoad NameLoad Call NameLoad Call NameLoad body Return NameLoad Assign NameStore NameLoad If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body If CompareIs Call NameLoad NameLoad Call NameLoad Call NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs Call NameLoad NameLoad Call NameLoad Call NameLoad body If CompareGt Call NameLoad Call AttributeLoad NameLoad attr Str Num body Return NameLoad orelse Return NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Str For NameStore NameLoad body If CompareLt Call NameLoad NameLoad Num body If UnaryOpNot NameLoad body Assign NameStore NameLoad orelse AugAssignAdd NameStore BinOpAdd Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If CompareGt Call NameLoad Call AttributeLoad NameLoad attr Str Num body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num orelse Assign NameStore Call AttributeLoad NameLoad attr Str Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Index Str Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad If BoolOpOr CompareGtE NameLoad NameLoad CompareLt NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults kwarg body Expr Str If CompareIn Str NameLoad body If BoolOpOr CompareEq Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad NameLoad CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If SubscriptLoad NameLoad Index Str body If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse TryExcept body Import alias Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body ImportFrom alias Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str IfExp UnaryOpNot CompareIn Str NameLoad NameLoad SubscriptLoad NameLoad Index Str If BoolOpOr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body If BoolOpAnd UnaryOpNot SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str orelse Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body If CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num body Raise Call NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad keyword NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If CompareIn NameLoad ListLoad Str Str Str body If CompareEq NameLoad Num body If CompareIn NameLoad ListLoad Str Str body Assign NameStore Num orelse If CompareEq NameLoad Str body Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad IfExp NameLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore IfExp CompareEq NameLoad Str Str NameLoad TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str TryExcept body Return SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad BoolOpAnd CompareIn Str Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str If NameLoad body Return IfExp CompareIn NameLoad NameLoad NameLoad NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Return NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num Num body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign NameStore Call NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad orelse Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Assign NameStore ListLoad Assign NameStore ListLoad Str Str Str Str Assign NameStore ListLoad Str Str Str Str Str AugAssignAdd NameStore ListComp NameLoad comprehension NameStore NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr Str If CompareEq SubscriptLoad NameLoad Index Str Str body AugAssignAdd NameStore ListComp NameLoad comprehension NameStore NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str If UnaryOpNot CompareIn Str NameLoad body Raise Call NameLoad Str orelse Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad orelse If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad name NameStore body TryExcept body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad Return IfExp CompareEq NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str For NameStore Call NameLoad Num Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Pass orelse If BoolOpAnd CompareIn NameLoad NameLoad CompareEq NameLoad Str body AugAssignAdd NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad orelse AugAssignAdd NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BoolOpAnd CompareNotEq NameLoad NameLoad CompareNotEq NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return CompareEq Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr decorator_list If UnaryOpNot Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list
N/A datetime timedelta datetime date N/A elasticsearch N/A copy N/A time N/A re N/A sys N/A logging N/A yaml exceptions * settings DATE_REGEX VERSION_MAX VERSION_MIN ACTION_DEFAULTS _version __version__ N/A logger N/A N/A logging getLogger __name__ read_file N/A N/A myfile N/A N/A N/A 
    Read a file and return the resulting data.

    :arg myfile: A file to read.
    :rtype: str
     N/A N/A N/A N/A open myfile r f N/A N/A data N/A N/A f read N/A data N/A N/A N/A IOError N/A e N/A N/A N/A FailedExecution N/A N/A Unable to read file {0} format myfile N/A get_yaml N/A N/A path N/A N/A N/A 
    Read the file identified by `path` and import its YAML contents.

    :arg path: The path to a YAML configuration file.
    :rtype: dict
     N/A raw N/A read_file path N/A N/A N/A cfg N/A N/A yaml load raw N/A N/A N/A N/A N/A yaml scanner ScannerError N/A e N/A N/A N/A ConfigurationError N/A N/A Unable to parse YAML file. Error: {0} format e N/A cfg N/A test_client_options N/A N/A config N/A N/A N/A 
    Test whether a SSL/TLS files exist. Will raise an exception if the files
    cannot be read.

    :arg config: A client configuration file data dictionary
    :rtype: None
     N/A N/A config N/A use_ssl N/A N/A N/A N/A certificate config N/A config N/A certificate N/A N/A N/A read_file N/A config N/A certificate N/A N/A N/A client_cert config N/A config N/A client_cert N/A N/A N/A read_file N/A config N/A client_cert N/A N/A N/A client_key config N/A config N/A client_key N/A N/A N/A read_file N/A config N/A client_key N/A verify_client_object N/A N/A test N/A N/A N/A 
    Test if `test` is a proper :class:`elasticsearch.Elasticsearch` client
    object and raise an exception if it is not.

    :arg test: The variable or object to test
    :rtype: None
     N/A N/A N/A str N/A type test <class 'mock.Mock'> N/A N/A N/A N/A N/A N/A N/A type test N/A type N/A N/A elasticsearch Elasticsearch N/A N/A N/A TypeError N/A N/A Not a client object. Type: {0} format N/A type test N/A verify_index_list N/A N/A test N/A N/A N/A 
    Test if `test` is a proper :class:`curator.indexlist.IndexList` object and
    raise an exception if it is not.

    :arg test: The variable or object to test
    :rtype: None
     N/A N/A N/A N/A str N/A type test <class 'curator.indexlist.IndexList'> N/A N/A N/A TypeError N/A N/A Not an IndexList object. Type: {0}. format N/A type test N/A verify_snapshot_list N/A N/A test N/A N/A N/A 
    Test if `test` is a proper :class:`curator.snapshotlist.SnapshotList`
    object and raise an exception if it is not.

    :arg test: The variable or object to test
    :rtype: None
     N/A N/A N/A N/A str N/A type test <class 'curator.snapshotlist.SnapshotList'> N/A N/A N/A TypeError N/A N/A Not an SnapshotList object. Type: {0}. format N/A type test N/A report_failure N/A N/A exception N/A N/A N/A 
    Raise a `FailedExecution` exception and include the original error message.

    :arg exception: The upstream exception.
    :rtype: None
     N/A N/A FailedExecution N/A N/A Exception encountered.  Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: {0} format exception N/A get_date_regex N/A N/A timestring N/A N/A N/A 
    Return a regex string based on a provided strftime timestring.

    :arg timestring: An strftime pattern
    :rtype: str
     N/A prev N/A curr N/A regex N/A s N/A range 0 N/A len timestring N/A N/A curr N/A timestring N/A s N/A N/A curr % N/A N/A N/A N/A N/A N/A curr DATE_REGEX N/A prev % N/A N/A regex N/A N/A \d{ N/A DATE_REGEX N/A curr } N/A N/A N/A curr N/A . - N/A N/A regex N/A \ curr N/A N/A regex curr N/A prev curr N/A N/A N/A logger debug N/A N/A regex = {0} format regex N/A regex N/A get_datetime N/A N/A index_timestamp timestring N/A N/A N/A 
    Return the datetime extracted from the index name, which is the index
    creation time.

    :arg index_timestamp: The timestamp extracted from an index name
    :arg timestring: An strftime pattern
    :rtype: :py:class:`datetime.datetime`
     N/A N/A %W timestring N/A N/A timestring %w N/A index_timestamp 1 N/A N/A N/A %U timestring N/A N/A timestring %w N/A index_timestamp 1 N/A N/A N/A %m timestring N/A N/A N/A N/A %d timestring N/A N/A timestring %d N/A index_timestamp 1 N/A N/A N/A datetime strptime index_timestamp timestring N/A fix_epoch N/A N/A epoch N/A N/A N/A 
    Fix value of `epoch` to be epoch, which should be 10 or fewer digits long.

    :arg epoch: An epoch timestamp, in epoch + milliseconds, or microsecond, or
        even nanoseconds.
    :rtype: int
     N/A epoch N/A int epoch N/A N/A N/A len N/A str epoch 10 N/A N/A epoch N/A N/A N/A N/A len N/A str epoch 13 N/A N/A N/A int N/A epoch 1000 N/A N/A N/A N/A N/A len N/A str epoch 10 N/A N/A len N/A str epoch 13 N/A N/A N/A ValueError Unusually formatted epoch timestamp.  Should be 10, 13, or more digits N/A N/A orders_of_magnitude N/A N/A len N/A str epoch 10 N/A powers_of_ten N/A 10 orders_of_magnitude N/A epoch N/A int N/A epoch powers_of_ten N/A epoch N/A TimestringSearch N/A object N/A N/A 
    An object to allow repetitive search against a string, `searchme`, without
    having to repeatedly recreate the regex.

    :arg timestring: An strftime pattern
     __init__ N/A N/A self timestring N/A N/A N/A regex N/A N/A (?P<date>{0}) format N/A get_date_regex timestring N/A N/A self pattern N/A N/A re compile regex N/A N/A self timestring timestring N/A get_epoch N/A N/A self searchme N/A N/A N/A 
        Return the epoch timestamp extracted from the `timestring` appearing in
        `searchme`.

        :arg searchme: A string to be searched for a date pattern that matches
            `timestring`
        :rtype: int
         N/A match N/A N/A N/A self pattern search searchme N/A match N/A N/A N/A N/A match group date N/A N/A timestamp N/A N/A match group date N/A N/A N/A N/A N/A get_datetime timestamp N/A self timestring N/A datetime 1970 1 1 total_seconds N/A N/A get_point_of_reference N/A N/A unit count epoch N/A None N/A N/A 
    Get a point-of-reference timestamp in epoch + milliseconds by deriving
    from a `unit` and a `count`, and an optional reference timestamp, `epoch`

    :arg unit: One of ``seconds``, ``minutes``, ``hours``, ``days``, ``weeks``,
        ``months``, or ``years``.
    :arg unit_count: The number of ``units``. ``unit_count`` * ``unit`` will
        be calculated out to the relative number of seconds.
    :arg epoch: An epoch timestamp used in conjunction with ``unit`` and
        ``unit_count`` to establish a point of reference for calculations.
    :rtype: int
     N/A N/A unit seconds N/A N/A multiplier 1 N/A N/A N/A unit minutes N/A N/A multiplier 60 N/A N/A N/A unit hours N/A N/A multiplier 3600 N/A N/A N/A unit days N/A N/A multiplier N/A 3600 24 N/A N/A N/A unit weeks N/A N/A multiplier N/A N/A 3600 24 7 N/A N/A N/A unit months N/A N/A multiplier N/A N/A 3600 24 30 N/A N/A N/A unit years N/A N/A multiplier N/A N/A 3600 24 365 N/A N/A N/A ValueError N/A N/A Invalid unit: {0}. format unit N/A N/A epoch N/A N/A epoch N/A N/A time time N/A epoch N/A fix_epoch epoch N/A N/A epoch N/A multiplier count N/A byte_size N/A N/A num suffix N/A B N/A N/A 
    Return a formatted string indicating the size in bytes, with the proper
    unit, e.g. KB, MB, GB, TB, etc.

    :arg num: The number of byte
    :arg suffix: An arbitrary suffix, like `Bytes`
    :rtype: float
     N/A unit N/A K M G T P E Z N/A N/A N/A N/A abs num 1024.0 N/A N/A N/A %3.1f%s%s N/A num unit suffix N/A num 1024.0 N/A N/A %.1f%s%s N/A num Y suffix N/A ensure_list N/A N/A indices N/A N/A N/A 
    Return a list, even if indices is a single value

    :arg indices: A list of indices to act upon
    :rtype: list
     N/A N/A N/A type indices N/A type N/A list N/A N/A indices N/A indices N/A indices N/A to_csv N/A N/A indices N/A N/A N/A 
    Return a csv string from a list of indices, or a single value if only one
    value is present

    :arg indices: A list of indices to act on, or a single value, which could be
        in the format of a csv string already.
    :rtype: str
     N/A indices N/A ensure_list indices N/A indices N/A N/A N/A N/A , join N/A sorted indices N/A N/A None N/A check_csv N/A N/A value N/A N/A N/A 
    Some of the curator methods should not operate against multiple indices at
    once.  This method can be used to check if a list or csv has been sent.

    :arg value: The value to test, if list or csv string
    :rtype: bool
     N/A N/A N/A type value N/A type N/A list N/A N/A True N/A string False N/A N/A N/A sys version_info N/A 3 0 N/A N/A N/A N/A type value N/A type N/A unicode N/A N/A value N/A str value N/A N/A N/A type value N/A type N/A str N/A N/A N/A N/A len N/A N/A value split , 1 N/A N/A True N/A N/A False N/A N/A N/A TypeError N/A N/A Passed value: {0} is not a list or a string but is of type {1} format value N/A type value N/A chunk_index_list N/A N/A indices N/A N/A N/A 
    This utility chunks very large index lists into 3KB chunks
    It measures the size as a csv string, then converts back into a list
    for the return value.

    :arg indices: A list of indices to act on.
    :rtype: list
     N/A chunks N/A N/A chunk N/A index indices N/A N/A N/A N/A len chunk 3072 N/A N/A N/A chunk N/A N/A chunk index N/A N/A chunk N/A , index N/A N/A N/A N/A chunks append N/A N/A chunk split , N/A chunk index N/A N/A N/A chunks append N/A N/A chunk split , N/A chunks N/A get_indices N/A N/A client N/A N/A N/A 
    Get the current list of indices from the cluster.

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :rtype: list
     N/A N/A N/A indices N/A list N/A N/A N/A client indices get_settings index _all params N/A expand_wildcards open,closed N/A N/A N/A logger debug N/A N/A All indices: {0} format indices N/A indices N/A N/A N/A Exception N/A e N/A N/A N/A FailedExecution N/A N/A Failed to get indices. Error: {0} format e N/A get_version N/A N/A client N/A N/A N/A 
    Return the ES version number as a tuple.
    Omits trailing tags like -dev, or Beta

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :rtype: tuple
     N/A version N/A N/A N/A N/A client info N/A version N/A number N/A version N/A N/A N/A version split - N/A 0 N/A N/A N/A len N/A N/A version split . 3 N/A N/A version N/A N/A N/A version split . N/A -1 N/A N/A version N/A N/A version split . N/A N/A tuple N/A map int version N/A is_master_node N/A N/A client N/A N/A N/A 
    Return `True` if the connected client node is the elected master node in
    the Elasticsearch cluster, otherwise return `False`.

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :rtype: bool
     N/A my_node_id N/A N/A list N/A N/A N/A N/A client nodes info _local N/A nodes N/A 0 N/A master_node_id N/A N/A N/A N/A client cluster state metric master_node N/A master_node N/A N/A my_node_id master_node_id N/A check_version N/A N/A client N/A N/A N/A 
    Verify version is within acceptable range.  Raise an exception if it is not.

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :rtype: None
     N/A version_number N/A get_version client N/A N/A N/A logger debug N/A N/A Detected Elasticsearch version {0} format N/A N/A . join N/A map str version_number N/A N/A N/A version_number VERSION_MAX N/A version_number VERSION_MIN N/A N/A N/A CuratorException N/A N/A Elasticsearch version {0} incompatible with this version of Curator ({0}) format N/A N/A . join N/A map str version_number __version__ N/A check_master N/A N/A client master_only N/A False N/A N/A 
    Check if connected client is the elected master node of the cluster.
    If not, cleanly exit with a log message.

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :rtype: None
     N/A N/A master_only N/A N/A is_master_node client N/A N/A N/A N/A logger info Master-only flag detected. Connected to non-master node. Aborting. N/A N/A N/A sys exit 0 N/A get_client N/A N/A N/A kwargs N/A N/A 
    Return an :class:`elasticsearch.Elasticsearch` client object using the
    provided parameters. Any of the keyword arguments the
    :class:`elasticsearch.Elasticsearch` client object can receive are valid,
    such as:

    :arg hosts: A list of one or more Elasticsearch client hostnames or IP
        addresses to connect to.  Can send a single host.
    :type port: list
    :arg port: The Elasticsearch client port to connect to.
    :type port: int
    :arg url_prefix: `Optional` url prefix, if needed to reach the Elasticsearch
        API (i.e., it's not at the root level)
    :type url_prefix: str
    :arg use_ssl: Whether to connect to the client via SSL/TLS
    :type use_ssl: bool
    :arg certificate: Path to SSL/TLS certificate
    :arg client_cert: Path to SSL/TLS client certificate (public key)
    :arg client_key: Path to SSL/TLS private key
    :arg aws_key: AWS IAM Access Key (Only used if the :mod:`requests-aws4auth`
        python module is installed)
    :arg aws_secret_key: AWS IAM Secret Access Key (Only used if the
        :mod:`requests-aws4auth` python module is installed)
    :arg aws_region: AWS Region (Only used if the :mod:`requests-aws4auth`
        python module is installed)
    :arg ssl_no_validate: If `True`, do not validate the certificate
        chain.  This is an insecure option and you will see warnings in the
        log output.
    :type ssl_no_validate: bool
    :arg http_auth: Authentication credentials in `user:pass` format.
    :type http_auth: str
    :arg timeout: Number of seconds before the client will timeout.
    :type timeout: int
    :arg master_only: If `True`, the client will `only` connect if the
        endpoint is the elected master node of the cluster.  **This option does
        not work if `hosts` has more than one value.**  It will raise an
        Exception in that case.
    :type master_only: bool
    :rtype: :class:`elasticsearch.Elasticsearch`
     N/A N/A url_prefix kwargs N/A N/A N/A N/A N/A type N/A kwargs N/A url_prefix N/A type None N/A N/A kwargs N/A url_prefix None N/A N/A N/A kwargs N/A url_prefix N/A N/A kwargs N/A hosts N/A N/A N/A hosts kwargs 127.0.0.1 N/A kwargs N/A hosts N/A N/A kwargs N/A master_only N/A N/A N/A master_only kwargs False N/A kwargs N/A master_only N/A N/A kwargs N/A use_ssl N/A N/A N/A use_ssl kwargs False N/A kwargs N/A use_ssl N/A N/A kwargs N/A ssl_no_validate N/A N/A N/A ssl_no_validate kwargs False N/A kwargs N/A ssl_no_validate N/A N/A kwargs N/A certificate N/A N/A N/A certificate kwargs False N/A kwargs N/A certificate N/A N/A kwargs N/A client_cert N/A N/A N/A client_cert kwargs False N/A kwargs N/A client_cert N/A N/A kwargs N/A client_key N/A N/A N/A client_key kwargs False N/A kwargs N/A client_key N/A N/A kwargs N/A hosts N/A ensure_list N/A kwargs N/A hosts N/A N/A N/A logger debug N/A N/A kwargs = {0} format kwargs N/A master_only N/A N/A kwargs pop master_only N/A N/A kwargs N/A use_ssl N/A N/A N/A kwargs N/A ssl_no_validate N/A N/A N/A kwargs N/A verify_certs False N/A N/A N/A N/A logger info Attempting to verify SSL certificate. N/A N/A kwargs N/A certificate N/A N/A N/A kwargs N/A verify_certs True N/A N/A kwargs N/A ca_certs N/A kwargs N/A certificate N/A N/A N/A N/A certifi N/A N/A kwargs N/A verify_certs True N/A N/A kwargs N/A ca_certs N/A N/A certifi where N/A N/A N/A ImportError N/A N/A N/A N/A logger warn Unable to verify SSL certificate. N/A N/A requests_aws4auth AWS4Auth N/A N/A kwargs N/A aws_key N/A N/A N/A aws_key kwargs False N/A kwargs N/A aws_key N/A N/A kwargs N/A aws_secret_key N/A N/A N/A aws_secret_key kwargs False N/A kwargs N/A aws_secret_key N/A N/A kwargs N/A region N/A N/A N/A region kwargs False N/A kwargs N/A region N/A N/A N/A kwargs N/A aws_key N/A kwargs N/A aws_secret_key N/A kwargs N/A region N/A N/A N/A N/A N/A kwargs N/A aws_key N/A kwargs N/A aws_secret_key N/A kwargs N/A region N/A N/A N/A MissingArgument Missing one or more of "aws_key", "aws_secret_key", or "region". N/A N/A kwargs N/A use_ssl True N/A N/A kwargs N/A verify_certs True N/A N/A kwargs N/A connection_class N/A elasticsearch RequestsHttpConnection N/A N/A kwargs N/A http_auth N/A AWS4Auth N/A kwargs N/A aws_key N/A kwargs N/A aws_secret_key N/A kwargs N/A region es N/A N/A N/A N/A logger debug "requests_aws4auth" module present, but not used. N/A N/A N/A ImportError N/A N/A N/A N/A logger debug Not using "requests_aws4auth" python module to connect. N/A master_only N/A N/A N/A N/A len N/A kwargs N/A hosts 1 N/A N/A N/A ConfigurationError N/A N/A "master_only" cannot be True if more than one host is specified. Hosts = {0} format N/A kwargs N/A hosts N/A N/A N/A client N/A N/A elasticsearch Elasticsearch kwargs N/A N/A check_version client N/A N/A check_master client master_only master_only N/A client N/A N/A N/A Exception N/A e N/A N/A N/A N/A elasticsearch ElasticsearchException N/A N/A Unable to create client connection to Elasticsearch.  Error: {0} format e N/A override_timeout N/A N/A timeout action N/A N/A N/A 
    Override the default timeout for `forcemerge`, `snapshot`, and `sync_flush`
    operations if the default value of ``30`` is provided.

    :arg timeout: Number of seconds before the client will timeout.
    :arg action: The `action` to be performed.
     N/A retval timeout N/A N/A action N/A forcemerge snapshot sync_flush N/A N/A N/A timeout 30 N/A N/A N/A action N/A forcemerge snapshot N/A N/A retval 21600 N/A N/A N/A action sync_flush N/A N/A retval 180 N/A N/A N/A logger info N/A N/A Overriding default connection timeout for {0} action.  New timeout: {1} format N/A N/A action upper timeout N/A retval N/A show_dry_run N/A N/A ilo action N/A kwargs N/A N/A 
    Log dry run output with the action which would have been executed.

    :arg ilo: A :class:`curator.indexlist.IndexList`
    :arg action: The `action` to be performed.
    :arg kwargs: Any other args to show in the log output
     N/A N/A N/A logger info DRY-RUN MODE.  No changes will be made. N/A N/A N/A logger info N/A N/A (CLOSED) indices may be shown that may not be acted on by action "{0}". format action N/A indices N/A sorted N/A ilo indices N/A idx indices N/A N/A index_closed N/A N/A N/A N/A ilo index_info N/A idx N/A state close N/A N/A N/A logger info N/A N/A DRY-RUN: {0}: {1}{2} with arguments: {3} format action idx N/A index_closed  (CLOSED) kwargs N/A get_repository N/A N/A client repository N/A N/A N/A 
    Return configuration information for the indicated repository.

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :arg repository: The Elasticsearch snapshot repository to use
    :rtype: dict
     N/A N/A N/A N/A N/A N/A client snapshot get_repository repository repository N/A N/A N/A N/A N/A elasticsearch TransportError N/A elasticsearch NotFoundError N/A N/A N/A N/A logger error N/A N/A Repository {0} not found. format repository N/A False N/A get_snapshot N/A N/A client repository snapshot N/A None N/A N/A 
    Return information about a snapshot (or a comma-separated list of snapshots)
    If no snapshot specified, it will return all snapshots.  If none exist, an
    empty dictionary will be returned.

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :arg repository: The Elasticsearch snapshot repository to use
    :arg snapshot: The snapshot name, or a comma-separated list of snapshots
    :rtype: dict
     N/A N/A repository N/A N/A N/A MissingArgument No value for "repository" provided N/A snapname N/A N/A snapshot _all snapshot N/A N/A N/A N/A N/A N/A client snapshot get repository repository snapshot snapshot N/A N/A N/A N/A N/A elasticsearch TransportError N/A elasticsearch NotFoundError N/A e N/A N/A N/A FailedExecution N/A N/A Unable to get information about snapshot {0} from repository: {1}.  Error: {2} format snapname repository e N/A get_snapshot_data N/A N/A client repository N/A None N/A N/A 
    Get ``_all`` snapshots from repository and return a list.

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :arg repository: The Elasticsearch snapshot repository to use
    :rtype: list
     N/A N/A repository N/A N/A N/A MissingArgument No value for "repository" provided N/A N/A N/A N/A N/A N/A N/A client snapshot get repository repository snapshot _all N/A snapshots N/A N/A N/A N/A N/A elasticsearch TransportError N/A elasticsearch NotFoundError N/A e N/A N/A N/A FailedExecution N/A N/A Unable to get snapshot information from repository: {0}.  Error: {1} format repository e N/A snapshot_in_progress N/A N/A client repository snapshot N/A None None N/A N/A 
    Determine whether the provided snapshot in `repository` is ``IN_PROGRESS``.
    If no value is provided for `snapshot`, then check all of them.
    Return `snapshot` if it is found to be in progress, or `False`

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :arg repository: The Elasticsearch snapshot repository to use
    :arg snapshot: The snapshot name
     N/A allsnaps N/A get_snapshot_data client repository repository N/A inprogress N/A N/A snap N/A snapshot N/A snap allsnaps N/A N/A state N/A N/A snap keys N/A N/A snap N/A state IN_PROGRESS N/A snapshot N/A N/A N/A N/A snapshot inprogress snapshot False N/A N/A N/A N/A len inprogress 0 N/A N/A False N/A N/A N/A N/A len inprogress 1 N/A N/A N/A inprogress N/A 0 N/A N/A N/A CuratorException N/A N/A More than 1 snapshot in progress: {0} format inprogress N/A safe_to_snap N/A N/A client repository retry_interval retry_count N/A None 120 3 N/A N/A 
    Ensure there are no snapshots in progress.  Pause and retry accordingly

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :arg repository: The Elasticsearch snapshot repository to use
    :arg retry_interval: Number of seconds to delay betwen retries. Default:
        120 (seconds)
    :arg retry_count: Number of attempts to make. Default: 3
    :rtype: bool
     N/A N/A repository N/A N/A N/A MissingArgument No value for "repository" provided N/A count N/A range 1 N/A retry_count 1 N/A N/A in_progress N/A snapshot_in_progress client repository repository N/A in_progress N/A N/A N/A N/A logger info N/A N/A Snapshot already in progress: {0} format in_progress N/A N/A N/A logger info N/A N/A Pausing {0} seconds before retrying... format retry_interval N/A N/A N/A time sleep retry_interval N/A N/A N/A logger info N/A N/A Retry {0} of {1} format count retry_count N/A N/A True N/A False N/A create_snapshot_body N/A N/A indices ignore_unavailable include_global_state partial N/A False True False N/A N/A 
    Create the request body for creating a snapshot from the provided
    arguments.

    :arg indices: A single index, or list of indices to snapshot.
    :arg ignore_unavailable: Ignore unavailable shards/indices. (default:
        `False`)
    :type ignore_unavailable: bool
    :arg include_global_state: Store cluster global state with snapshot.
        (default: `True`)
    :type include_global_state: bool
    :arg partial: Do not fail if primary shard is unavailable. (default:
        `False`)
    :type partial: bool
    :rtype: dict
     N/A N/A indices N/A N/A N/A N/A logger error Missing required repository parameter N/A False N/A body N/A ignore_unavailable include_global_state partial ignore_unavailable include_global_state partial N/A N/A indices _all N/A N/A N/A body N/A indices indices N/A N/A N/A body N/A indices N/A to_csv indices N/A body N/A create_repo_body N/A N/A repo_type compress chunk_size max_restore_bytes_per_sec max_snapshot_bytes_per_sec location bucket region base_path access_key secret_key N/A None True None None None None None None None None None kwargs N/A N/A 
    Build the 'body' portion for use in creating a repository.

    :arg repo_type: The type of repository (presently only `fs` and `s3`)
    :arg compress: Turn on compression of the snapshot files. Compression is
        applied only to metadata files (index mapping and settings). Data files
        are not compressed. (Default: `True`)
    :arg chunk_size: The chunk size can be specified in bytes or by using size
        value notation, i.e. 1g, 10m, 5k. Defaults to `null` (unlimited chunk
        size).
    :arg max_restore_bytes_per_sec: Throttles per node restore rate. Defaults
        to ``20mb`` per second.
    :arg max_snapshot_bytes_per_sec: Throttles per node snapshot rate. Defaults
        to ``20mb`` per second.
    :arg location: Location of the snapshots. Required.
    :arg bucket: `S3 only.` The name of the bucket to be used for snapshots.
        Required.
    :arg region: `S3 only.` The region where bucket is located. Defaults to
        `US Standard`
    :arg base_path: `S3 only.` Specifies the path within bucket to repository
        data. Defaults to value of ``repositories.s3.base_path`` or to root
        directory if not set.
    :arg access_key: `S3 only.` The access key to use for authentication.
        Defaults to value of ``cloud.aws.access_key``.
    :arg secret_key: `S3 only.` The secret key to use for authentication.
        Defaults to value of ``cloud.aws.secret_key``.

    :returns: A dictionary suitable for creating a repository from the provided
        arguments.
    :rtype: dict
     N/A N/A repo_type N/A N/A N/A MissingArgument Missing required parameter --repo_type N/A argdict N/A locals N/A body N/A N/A N/A body N/A type N/A argdict N/A repo_type N/A N/A body N/A settings N/A N/A settings N/A N/A maybes N/A compress chunk_size max_restore_bytes_per_sec max_snapshot_bytes_per_sec N/A s3 N/A bucket region base_path access_key secret_key N/A settings N/A i N/A i maybes N/A argdict N/A i N/A N/A N/A argdict N/A repo_type fs N/A N/A N/A N/A settings append location N/A N/A N/A argdict N/A repo_type s3 N/A N/A settings N/A i N/A i s3 N/A argdict N/A i N/A k settings N/A N/A N/A N/A body N/A settings N/A k N/A argdict N/A k N/A body N/A create_repository N/A N/A client N/A kwargs N/A N/A 
    Create repository with repository and body settings

    :arg client: An :class:`elasticsearch.Elasticsearch` client object

    :arg repo_type: The type of repository (presently only `fs` and `s3`)
    :arg compress: Turn on compression of the snapshot files. Compression is
        applied only to metadata files (index mapping and settings). Data files
        are not compressed. (Default: `True`)
    :arg chunk_size: The chunk size can be specified in bytes or by using size
        value notation, i.e. 1g, 10m, 5k. Defaults to `null` (unlimited chunk
        size).
    :arg max_restore_bytes_per_sec: Throttles per node restore rate. Defaults
        to ``20mb`` per second.
    :arg max_snapshot_bytes_per_sec: Throttles per node snapshot rate. Defaults
        to ``20mb`` per second.
    :arg location: Location of the snapshots. Required.
    :arg bucket: `S3 only.` The name of the bucket to be used for snapshots.
        Required.
    :arg region: `S3 only.` The region where bucket is located. Defaults to
        `US Standard`
    :arg base_path: `S3 only.` Specifies the path within bucket to repository
        data. Defaults to value of ``repositories.s3.base_path`` or to root
        directory if not set.
    :arg access_key: `S3 only.` The access key to use for authentication.
        Defaults to value of ``cloud.aws.access_key``.
    :arg secret_key: `S3 only.` The secret key to use for authentication.
        Defaults to value of ``cloud.aws.secret_key``.

    :returns: A boolean value indicating success or failure.
    :rtype: bool
     N/A N/A N/A repository kwargs N/A N/A N/A MissingArgument Missing required parameter --repository N/A N/A repository N/A kwargs N/A repository N/A N/A N/A body N/A create_repo_body kwargs N/A N/A N/A logger info N/A N/A Checking if repository {0} already exists... format repository N/A result N/A get_repository client repository repository N/A N/A N/A logger debug N/A N/A Result = {0} format result N/A N/A result N/A N/A N/A N/A logger info N/A N/A Repository {0} not in Elasticsearch. Continuing... format repository N/A N/A N/A N/A client snapshot create_repository repository repository body body N/A N/A N/A N/A result None N/A repository result N/A N/A N/A N/A logger info N/A N/A Repository {0} not in Elasticsearch. Continuing... format repository N/A N/A N/A N/A client snapshot create_repository repository repository body body N/A N/A N/A FailedExecution N/A N/A Unable to create repository {0}.  A repository with that name already exists. format repository N/A N/A N/A N/A elasticsearch TransportError N/A e N/A N/A N/A FailedExecution N/A N/A 
            Unable to create repository {0}.  Response Code: {1}.  Error: {2}.
            Check curator and elasticsearch logs for more information.
             format repository N/A e status_code N/A e error N/A N/A N/A logger info N/A N/A Repository {0} creation initiated... format repository N/A True N/A repository_exists N/A N/A client repository N/A None N/A N/A 
    Verify the existence of a repository

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :arg repository: The Elasticsearch snapshot repository to use
    :rtype: bool
     N/A N/A repository N/A N/A N/A MissingArgument No value for "repository" provided N/A test_result N/A get_repository client repository N/A N/A repository test_result N/A N/A N/A N/A logger info N/A N/A Repository {0} exists. format repository N/A True N/A N/A N/A N/A logger info N/A N/A Repository {0} not found... format repository N/A False N/A test_repo_fs N/A N/A client repository N/A None N/A N/A 
    Test whether all nodes have write access to the repository

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :arg repository: The Elasticsearch snapshot repository to use
     N/A N/A N/A nodes N/A N/A N/A N/A client snapshot verify_repository repository repository N/A nodes N/A N/A N/A logger info All nodes can write to the repository N/A N/A N/A logger debug N/A N/A Nodes with verified repository access: {0} format nodes N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A N/A e status_code 404 N/A N/A msg N/A N/A --- Repository "{0}" not found. Error: {1}, {2} format repository N/A e status_code N/A e error N/A N/A msg N/A N/A --- Got a {0} response from Elasticsearch.  Error message: {1} format N/A e status_code N/A e error N/A N/A N/A AttributeError N/A N/A msg N/A N/A --- Error message: {0} format e N/A N/A ActionError N/A N/A Failed to verify all nodes have repository access: {0} format msg N/A snapshot_running N/A N/A client N/A N/A N/A 
    Return `True` if a snapshot is in progress, and `False` if not

    :arg client: An :class:`elasticsearch.Elasticsearch` client object
    :rtype: bool
     N/A N/A N/A status N/A N/A N/A N/A client snapshot status N/A snapshots N/A N/A N/A Exception N/A e N/A N/A N/A report_failure e N/A N/A N/A status N/A False True N/A parse_date_pattern N/A N/A name N/A N/A N/A 
    Scan and parse `name` for :py:func:`time.strftime` strings, replacing them
    with the associated value when found, but otherwise returning lowercase
    values, as uppercase snapshot names are not allowed.

    The :py:func:`time.strftime` identifiers that Curator currently recognizes
    as acceptable include:

    * ``Y``: A 4 digit year
    * ``y``: A 2 digit year
    * ``m``: The 2 digit month
    * ``W``: The 2 digit week of the year
    * ``d``: The 2 digit day of the month
    * ``H``: The 2 digit hour of the day, in 24 hour notation
    * ``M``: The 2 digit minute of the hour
    * ``S``: The 2 digit number of second of the minute
    * ``j``: The 3 digit day of the year

    :arg name: A name, which can contain :py:func:`time.strftime`
        strings
     N/A prev N/A curr N/A rendered N/A s N/A range 0 N/A len name N/A N/A curr N/A name N/A s N/A N/A curr % N/A N/A N/A N/A N/A N/A curr DATE_REGEX N/A prev % N/A N/A rendered N/A str N/A N/A N/A N/A datetime utcnow strftime N/A N/A %{0} format curr N/A N/A rendered curr N/A N/A N/A logger debug N/A N/A Partially rendered name: {0} format rendered N/A prev curr N/A N/A N/A logger debug N/A N/A Fully rendered name: {0} format rendered N/A rendered N/A prune_nones N/A N/A mydict N/A N/A N/A 
    Remove keys from `mydict` whose values are `None`

    :arg mydict: The dictionary to act on
    :rtype: dict
     N/A N/A k v N/A N/A k v N/A N/A mydict items N/A N/A v None N/A v None N/A verify_args N/A N/A action options N/A N/A N/A 
    Verify that only acceptable argument names in `options` have been passed for
    any given `action`

    :arg action: The name of an action to be performed
    :arg options: A dictionary of options.
     N/A N/A N/A logger debug N/A N/A Arguments for action "{0}": {1} format action options matches_keys N/A N/A mydict N/A N/A N/A N/A N/A logger debug N/A N/A options.keys = {0} mydict.keys = {1} format N/A N/A options keys N/A N/A mydict keys N/A N/A N/A sorted N/A list N/A N/A options keys N/A sorted N/A list N/A N/A mydict keys N/A N/A N/A N/A matches_keys N/A N/A copy deepcopy N/A ACTION_DEFAULTS N/A action N/A N/A N/A ConfigurationError N/A N/A Invalid option in configuration: {0} format options N/A