Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias identifier ImportFrom alias identifier Import alias ImportFrom alias alias TryExcept body Import alias Import alias Import alias Import alias ImportFrom alias identifier Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Import alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str FunctionDef arguments args defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr body If NameLoad body Global identifier identifier identifier identifier Global identifier identifier identifier identifier identifier Global identifier identifier identifier Global identifier identifier identifier identifier identifier Global identifier identifier identifier Global identifier identifier identifier identifier identifier identifier Global identifier identifier identifier identifier Global identifier identifier identifier identifier identifier identifier identifier Global identifier identifier identifier identifier Global identifier identifier identifier identifier identifier identifier Global identifier identifier identifier identifier identifier Global identifier identifier identifier identifier Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Return NameLoad Return TupleLoad NameLoad Str decorator_list Assign NameStore Dict Str Str Str Str Assign NameStore Dict Str Str FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If CompareLt AttributeLoad Call AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str Assign NameStore Call NameLoad TupleLoad NameLoad Assign NameStore Num While Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num If CompareGt NameLoad NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr IfExp NameLoad Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad orelse If CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad TupleLoad NameLoad NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr IfExp NameLoad Str Str NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad If BoolOpAnd NameLoad CompareGtE AttributeLoad Call AttributeLoad NameLoad attr attr Num body Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Str ExceptHandler type NameLoad name NameStore body If BoolOpOr CompareEq AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Num body Return Str Raise Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad Str body Return Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Return Str orelse Raise decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad Str body Return Str TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Return Str orelse Raise Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad If BoolOpAnd NameLoad CompareGtE AttributeLoad Call AttributeLoad NameLoad attr attr Num body Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Str ExceptHandler type NameLoad name NameStore body If BoolOpOr CompareEq AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Num body Return Str Raise Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Str TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body AugAssignAdd NameStore Str If NameLoad body TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body AugAssignAdd NameStore Str orelse Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignAdd NameStore Str If NameLoad body Return NameLoad If BoolOpAnd NameLoad CompareGtE AttributeLoad Call AttributeLoad NameLoad attr attr Num body Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad TryFinally body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad finalbody If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Str TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body AugAssignAdd NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignAdd NameStore Str If NameLoad body Return NameLoad Assign NameStore NameLoad TryFinally body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad finalbody If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign NameStore Dict If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad If BoolOpAnd NameLoad CompareGtE AttributeLoad Call AttributeLoad NameLoad attr attr Num body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignAdd NameStore Str If NameLoad body Return NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str CompareEq BinOpBitAnd NameLoad Num Num Assign SubscriptStore NameLoad Index Str NameLoad If BoolOpAnd CompareIs SubscriptLoad NameLoad Index Str NameLoad CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignAdd NameStore Str If NameLoad body If BoolOpOr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body AugAssignAdd NameStore Str orelse Return Call AttributeLoad NameLoad attr NameLoad Num If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If NameLoad body AugAssignBitOr NameStore Num orelse AugAssignBitAnd NameStore Num If CompareIsNot NameLoad NameLoad body If NameLoad body AugAssignBitOr NameStore Num orelse AugAssignBitAnd NameStore Num If CompareIsNot NameLoad NameLoad body If NameLoad body AugAssignBitOr NameStore Num orelse AugAssignBitAnd NameStore Num If CompareIsNot NameLoad NameLoad body If NameLoad body AugAssignBitOr NameStore Num orelse AugAssignBitAnd NameStore Num If CompareIsNot NameLoad NameLoad body If NameLoad body AugAssignBitOr NameStore Num orelse AugAssignBitAnd NameStore Num If CompareIsNot NameLoad NameLoad body If NameLoad body AugAssignBitOr NameStore Num orelse AugAssignBitAnd NameStore Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call AttributeLoad Str attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareLt AttributeLoad Call AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLt AttributeLoad Call AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Raise Call NameLoad Str If BinOpBitAnd NameLoad Num body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLt AttributeLoad Call AttributeLoad NameLoad attr attr Num body Return NameLoad TryExcept body If UnaryOpNot Call NameLoad NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr If UnaryOpNot CompareEq BinOpBitAnd NameLoad Num Num body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLt AttributeLoad Call AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Return NameLoad Assign NameStore NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num NameLoad Num BinOpBitOr Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad Num finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLt AttributeLoad Call AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr If UnaryOpNot CompareEq BinOpBitAnd NameLoad Num Num body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Return NameLoad Raise Return NameLoad decorator_list
N/A N/A 
Manage information about files on the minion, set/read user, group
data

:depends:   - win32api
            - win32file
            - win32security
 __future__ absolute_import N/A os N/A stat N/A os.path N/A logging N/A struct N/A operator collections Iterable Mapping N/A datetime N/A tempfile N/A itertools N/A contextlib N/A difflib N/A hashlib N/A errno N/A shutil N/A re N/A sys N/A fileinput N/A fnmatch N/A mmap salt.ext.six string_types N/A salt.ext.six six salt.ext.six.moves.urllib.parse urlparse _urlparse N/A salt.utils.atomicfile salt.exceptions CommandExecutionError SaltInvocationError N/A N/A N/A win32api N/A win32file N/A win32security N/A win32con pywintypes error pywinerror N/A HAS_WINDOWS_MODULES True N/A N/A N/A ImportError N/A N/A HAS_WINDOWS_MODULES False N/A salt.utils salt.modules.file check_hash directory_exists get_managed mkdir makedirs_ makedirs_perms check_managed check_managed_changes check_perms source_list touch append contains contains_regex contains_regex_multiline contains_glob find psed get_sum _get_bkroot _mkstemp_copy get_hash manage_file file_exists get_diff list_backups __clean_tmp check_file_meta _binary_replace restore_backup access copy readdir rmdir truncate replace delete_backup search _get_flags extract_hash _error _sed_esc _psed RE_FLAG_TABLE blockreplace prepend seek_read seek_write rename lstat path_exists_glob write pardir join HASHES comment uncomment _add_flags comment_line apply_template_on_contents salt.utils namespaced_function _namespaced_function N/A log N/A N/A logging getLogger __name__ N/A __virtualname__ file __virtual__ N/A N/A N/A N/A N/A 
    Only works on Windows systems
     N/A N/A N/A N/A salt utils is_windows N/A N/A HAS_WINDOWS_MODULES N/A N/A check_perms get_managed makedirs_perms manage_file N/A source_list mkdir __clean_tmp makedirs_ file_exists N/A check_managed check_managed_changes check_file_meta N/A append _error directory_exists touch contains N/A contains_regex contains_regex_multiline contains_glob N/A find psed get_sum check_hash get_hash delete_backup N/A get_diff _get_flags extract_hash comment_line N/A access copy readdir rmdir truncate replace search N/A _binary_replace _get_bkroot list_backups restore_backup N/A blockreplace prepend seek_read seek_write rename lstat N/A write pardir join _add_flags apply_template_on_contents N/A path_exists_glob comment uncomment _mkstemp_copy N/A replace N/A _namespaced_function replace N/A globals N/A search N/A _namespaced_function search N/A globals N/A _get_flags N/A _namespaced_function _get_flags N/A globals N/A _binary_replace N/A _namespaced_function _binary_replace N/A globals N/A _error N/A _namespaced_function _error N/A globals N/A _get_bkroot N/A _namespaced_function _get_bkroot N/A globals N/A list_backups N/A _namespaced_function list_backups N/A globals N/A restore_backup N/A _namespaced_function restore_backup N/A globals N/A delete_backup N/A _namespaced_function delete_backup N/A globals N/A extract_hash N/A _namespaced_function extract_hash N/A globals N/A append N/A _namespaced_function append N/A globals N/A check_perms N/A _namespaced_function check_perms N/A globals N/A get_managed N/A _namespaced_function get_managed N/A globals N/A check_managed N/A _namespaced_function check_managed N/A globals N/A check_managed_changes N/A _namespaced_function check_managed_changes N/A globals N/A check_file_meta N/A _namespaced_function check_file_meta N/A globals N/A makedirs_perms N/A _namespaced_function makedirs_perms N/A globals N/A makedirs_ N/A _namespaced_function makedirs_ N/A globals N/A manage_file N/A _namespaced_function manage_file N/A globals N/A source_list N/A _namespaced_function source_list N/A globals N/A mkdir N/A _namespaced_function mkdir N/A globals N/A file_exists N/A _namespaced_function file_exists N/A globals N/A __clean_tmp N/A _namespaced_function __clean_tmp N/A globals N/A directory_exists N/A _namespaced_function directory_exists N/A globals N/A touch N/A _namespaced_function touch N/A globals N/A contains N/A _namespaced_function contains N/A globals N/A contains_regex N/A _namespaced_function contains_regex N/A globals N/A contains_regex_multiline N/A _namespaced_function contains_regex_multiline N/A globals N/A contains_glob N/A _namespaced_function contains_glob N/A globals N/A find N/A _namespaced_function find N/A globals N/A psed N/A _namespaced_function psed N/A globals N/A get_sum N/A _namespaced_function get_sum N/A globals N/A check_hash N/A _namespaced_function check_hash N/A globals N/A get_hash N/A _namespaced_function get_hash N/A globals N/A get_diff N/A _namespaced_function get_diff N/A globals N/A access N/A _namespaced_function access N/A globals N/A copy N/A _namespaced_function copy N/A globals N/A readdir N/A _namespaced_function readdir N/A globals N/A rmdir N/A _namespaced_function rmdir N/A globals N/A truncate N/A _namespaced_function truncate N/A globals N/A blockreplace N/A _namespaced_function blockreplace N/A globals N/A prepend N/A _namespaced_function prepend N/A globals N/A seek_read N/A _namespaced_function seek_read N/A globals N/A seek_write N/A _namespaced_function seek_write N/A globals N/A rename N/A _namespaced_function rename N/A globals N/A lstat N/A _namespaced_function lstat N/A globals N/A path_exists_glob N/A _namespaced_function path_exists_glob N/A globals N/A write N/A _namespaced_function write N/A globals N/A pardir N/A _namespaced_function pardir N/A globals N/A join N/A _namespaced_function join N/A globals N/A comment N/A _namespaced_function comment N/A globals N/A uncomment N/A _namespaced_function uncomment N/A globals N/A comment_line N/A _namespaced_function comment_line N/A globals N/A _mkstemp_copy N/A _namespaced_function _mkstemp_copy N/A globals N/A _add_flags N/A _namespaced_function _add_flags N/A globals N/A apply_template_on_contents N/A _namespaced_function apply_template_on_contents N/A globals N/A __virtualname__ N/A N/A False Module win_file: module only works on Windows systems N/A N/A __outputter__ N/A touch append txt txt N/A __func_alias__ N/A makedirs_ makedirs _resolve_symlink N/A N/A path max_depth N/A 64 N/A N/A 
    Resolves the given symlink path to its real path, up to a maximum of the
    `max_depth` parameter which defaults to 64.

    If the path is not a symlink path, it is simply returned.
     N/A N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A N/A SaltInvocationError Symlinks are only supported on Windows Vista or later. N/A paths_seen N/A set N/A path N/A cur_depth 0 N/A N/A is_link path N/A N/A path N/A readlink path N/A N/A path paths_seen N/A N/A N/A CommandExecutionError The given path is involved in a symlink loop. N/A N/A N/A paths_seen add path N/A cur_depth 1 N/A N/A cur_depth max_depth N/A N/A N/A CommandExecutionError Too many levels of symbolic links. N/A path N/A _change_privilege_state N/A N/A privilege_name enable N/A N/A N/A 
    Change the state, either enable or disable, of the named privilege for this
    process.

    If the change fails, an exception will be raised. If successful, it returns
    True.
     N/A N/A N/A log debug N/A N/A {0} the privilege {1} for this process. format N/A enable Enabling Disabling privilege_name N/A hProc N/A N/A win32api GetCurrentProcess N/A hToken None N/A N/A N/A hToken N/A N/A win32security OpenProcessToken hProc N/A N/A win32security TOKEN_QUERY N/A win32security TOKEN_ADJUST_PRIVILEGES N/A privilege N/A N/A win32security LookupPrivilegeValue None privilege_name N/A enable N/A N/A privilege_attrs N/A win32security SE_PRIVILEGE_ENABLED N/A N/A privilege_attrs 0 N/A token_privileges N/A dict N/A N/A win32security GetTokenInformation hToken N/A win32security TokenPrivileges N/A N/A privilege token_privileges N/A N/A enable N/A N/A N/A SaltInvocationError N/A N/A The requested privilege {0} is not available for this process (check Salt user privileges). format privilege_name N/A N/A N/A N/A log debug N/A N/A Cannot disable privilege {0} because this process does not have that privilege. format privilege_name N/A True N/A N/A N/A N/A token_privileges N/A privilege privilege_attrs N/A N/A N/A N/A log debug N/A N/A The requested privilege {0} is already in the requested state. format privilege_name N/A True N/A changes N/A N/A win32security AdjustTokenPrivileges hToken False N/A N/A privilege privilege_attrs N/A N/A hToken N/A N/A N/A N/A win32api CloseHandle hToken N/A N/A N/A bool changes N/A N/A N/A SaltInvocationError N/A N/A Could not {0} the {1} privilege for this process format N/A enable enable remove privilege_name N/A N/A True N/A _enable_privilege N/A N/A privilege_name N/A N/A N/A 
    Enables the named privilege for this process.
     N/A N/A _change_privilege_state privilege_name True N/A _disable_privilege N/A N/A privilege_name N/A N/A N/A 
    Disables the named privilege for this process.
     N/A N/A _change_privilege_state privilege_name False N/A gid_to_group N/A N/A gid N/A N/A N/A 
    Convert the group id to the group name on this system

    Under Windows, because groups are just another ACL entity, this function
    behaves the same as uid_to_user.

    For maintaining Windows systems, this function is superfluous and only
    exists for API compatibility with Unix. Use the uid_to_user function
    instead; an info level log entry will be generated if this function is used
    directly.

    CLI Example:

    .. code-block:: bash

        salt '*' file.gid_to_group S-1-5-21-626487655-2533044672-482107328-1010
     N/A func_name N/A N/A {0}.gid_to_group format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The function {0} should not be used on Windows systems; see function docs for details. format func_name N/A N/A uid_to_user gid N/A group_to_gid N/A N/A group N/A N/A N/A 
    Convert the group to the gid on this system

    Under Windows, because groups are just another ACL entity, this function
    behaves the same as user_to_uid, except if None is given, '' is returned.

    For maintaining Windows systems, this function is superfluous and only
    exists for API compatibility with Unix. Use the user_to_uid function
    instead; an info level log entry will be generated if this function is used
    directly.

    CLI Example:

    .. code-block:: bash

        salt '*' file.group_to_gid administrators
     N/A func_name N/A N/A {0}.group_to_gid format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The function {0} should not be used on Windows systems; see function docs for details. format func_name N/A N/A _user_to_uid group N/A get_pgid N/A N/A path follow_symlinks N/A True N/A N/A 
    Return the id of the primary group that owns a given file (Windows only)

    This function will return the rarely used primary group of a file. This
    generally has no bearing on permissions unless intentionally configured
    and is most commonly used to provide Unix compatibility (e.g. Services
    For Unix, NFS services).

    Ensure you know what you are doing before using this function.

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_pgid c:\temp\test.txt
     N/A N/A N/A N/A N/A os path exists path N/A N/A False N/A N/A follow_symlinks N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A path N/A _resolve_symlink path N/A N/A N/A secdesc N/A N/A win32security GetFileSecurity path N/A win32security GROUP_SECURITY_INFORMATION N/A N/A N/A MemoryError N/A N/A S-1-1-0 N/A N/A pywinerror N/A exc N/A N/A N/A N/A N/A exc winerror 1 N/A N/A exc winerror 50 N/A N/A S-1-1-0 N/A N/A group_sid N/A N/A secdesc GetSecurityDescriptorGroup N/A N/A N/A win32security ConvertSidToStringSid group_sid N/A get_pgroup N/A N/A path follow_symlinks N/A True N/A N/A 
    Return the name of the primary group that owns a given file (Windows only)

    This function will return the rarely used primary group of a file. This
    generally has no bearing on permissions unless intentionally configured
    and is most commonly used to provide Unix compatibility (e.g. Services
    For Unix, NFS services).

    Ensure you know what you are doing before using this function.

    The return value may be 'None', e.g. if the user is not on a domain. This is
    a valid group - do not confuse this with the Salt/Python value of None which
    means no value was returned. To be certain, use the `get_pgid` function
    which will return the SID, including for the system 'None' group.

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_pgroup c:\temp\test.txt
     N/A N/A uid_to_user N/A get_pgid path follow_symlinks N/A get_gid N/A N/A path follow_symlinks N/A True N/A N/A 
    Return the id of the group that owns a given file

    Under Windows, this will return the uid of the file.

    While a file in Windows does have a 'primary group', this rarely used
    attribute generally has no bearing on permissions unless intentionally
    configured and is only used to support Unix compatibility features (e.g.
    Services For Unix, NFS services).

    Salt, therefore, remaps this function to provide functionality that
    somewhat resembles Unix behavior for API compatibility reasons. When
    managing Windows systems, this function is superfluous and will generate
    an info level log entry if used directly.

    If you do actually want to access the 'primary group' of a file, use
    `file.get_pgid`.

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_gid c:\temp\test.txt
     N/A func_name N/A N/A {0}.get_gid format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The function {0} should not be used on Windows systems; see function docs for details. The value returned is the uid. format func_name N/A N/A get_uid path follow_symlinks N/A get_group N/A N/A path follow_symlinks N/A True N/A N/A 
    Return the group that owns a given file

    Under Windows, this will return the user (owner) of the file.

    While a file in Windows does have a 'primary group', this rarely used
    attribute generally has no bearing on permissions unless intentionally
    configured and is only used to support Unix compatibility features (e.g.
    Services For Unix, NFS services).

    Salt, therefore, remaps this function to provide functionality that
    somewhat resembles Unix behavior for API compatibility reasons. When
    managing Windows systems, this function is superfluous and will generate
    an info level log entry if used directly.

    If you do actually want to access the 'primary group' of a file, use
    `file.get_pgroup`.

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_group c:\temp\test.txt
     N/A func_name N/A N/A {0}.get_group format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The function {0} should not be used on Windows systems; see function docs for details. The value returned is the user (owner). format func_name N/A N/A get_user path follow_symlinks N/A uid_to_user N/A N/A uid N/A N/A N/A 
    Convert a uid to a user name

    CLI Example:

    .. code-block:: bash

        salt '*' file.uid_to_user S-1-5-21-626487655-2533044672-482107328-1010
     N/A N/A N/A uid None N/A uid N/A N/A N/A sid N/A N/A win32security GetBinarySid uid N/A N/A N/A N/A name domain account_type N/A N/A win32security LookupAccountSid None sid N/A name N/A N/A N/A pywinerror N/A exc N/A N/A N/A N/A exc winerror 1332 N/A N/A N/A N/A N/A user_to_uid N/A N/A user N/A N/A N/A 
    Convert user name to a uid

    CLI Example:

    .. code-block:: bash

        salt '*' file.user_to_uid myusername
     N/A N/A user None N/A N/A user N/A N/A N/A salt utils get_user N/A N/A _user_to_uid user N/A _user_to_uid N/A N/A user N/A N/A N/A 
    Convert user name to a uid
     N/A N/A N/A user None N/A user N/A N/A N/A N/A N/A N/A sid domain account_type N/A N/A win32security LookupAccountName None user N/A N/A N/A pywinerror N/A exc N/A N/A N/A N/A exc winerror 1332 N/A N/A N/A N/A N/A N/A N/A win32security ConvertSidToStringSid sid N/A get_uid N/A N/A path follow_symlinks N/A True N/A N/A 
    Return the id of the user that owns a given file

    Symlinks are followed by default to mimic Unix behavior. Specify
    `follow_symlinks=False` to turn off this behavior.

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_uid c:\temp\test.txt
        salt '*' file.get_uid c:\temp\test.txt follow_symlinks=False
     N/A N/A N/A N/A N/A os path exists path N/A N/A False N/A N/A follow_symlinks N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A path N/A _resolve_symlink path N/A N/A N/A secdesc N/A N/A win32security GetFileSecurity path N/A win32security OWNER_SECURITY_INFORMATION N/A N/A N/A MemoryError N/A N/A S-1-1-0 N/A N/A pywinerror N/A exc N/A N/A N/A N/A N/A exc winerror 1 N/A N/A exc winerror 50 N/A N/A S-1-1-0 N/A N/A owner_sid N/A N/A secdesc GetSecurityDescriptorOwner N/A N/A N/A win32security ConvertSidToStringSid owner_sid N/A get_user N/A N/A path follow_symlinks N/A True N/A N/A 
    Return the user that owns a given file

    Symlinks are followed by default to mimic Unix behavior. Specify
    `follow_symlinks=False` to turn off this behavior.

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_user c:\temp\test.txt
        salt '*' file.get_user c:\temp\test.txt follow_symlinks=False
     N/A N/A uid_to_user N/A get_uid path follow_symlinks N/A get_mode N/A N/A path N/A N/A N/A 
    Return the mode of a file

    Right now we're just returning None because Windows' doesn't have a mode
    like Linux

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_mode /etc/passwd
     N/A N/A N/A N/A N/A os path exists path N/A N/A N/A func_name N/A N/A {0}.get_mode format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The function {0} should not be used on Windows systems; see function docs for details. The value returned is always None. format func_name N/A None N/A lchown N/A N/A path user group pgroup N/A None None N/A N/A 
    Chown a file, pass the file the desired user and group without following any
    symlinks.

    Under Windows, the group parameter will be ignored.

    This is because while files in Windows do have a 'primary group'
    property, this is rarely used.  It generally has no bearing on
    permissions unless intentionally configured and is most commonly used to
    provide Unix compatibility (e.g. Services For Unix, NFS services).

    If you do want to change the 'primary group' property and understand the
    implications, pass the Windows only parameter, pgroup, instead.

    To set the primary group to 'None', it must be specified in quotes.
    Otherwise Salt will interpret it as the Python value of None and no primary
    group changes will occur. See the example below.

    CLI Example:

    .. code-block:: bash

        salt '*' file.lchown c:\temp\test.txt myusername
        salt '*' file.lchown c:\temp\test.txt myusername pgroup=Administrators
        salt '*' file.lchown c:\temp\test.txt myusername "pgroup='None'"
     N/A group N/A N/A func_name N/A N/A {0}.lchown format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The group parameter has no effect when using {0} on Windows systems; see function docs for details. format func_name N/A N/A N/A log debug N/A N/A win_file.py {0} Ignoring the group parameter for {1} format func_name path N/A group None N/A N/A chown path user group pgroup follow_symlinks False N/A chown N/A N/A path user group pgroup follow_symlinks N/A None None True N/A N/A 
    Chown a file, pass the file the desired user and group

    Under Windows, the group parameter will be ignored.

    This is because while files in Windows do have a 'primary group'
    property, this is rarely used.  It generally has no bearing on
    permissions unless intentionally configured and is most commonly used to
    provide Unix compatibility (e.g. Services For Unix, NFS services).

    If you do want to change the 'primary group' property and understand the
    implications, pass the Windows only parameter, pgroup, instead.

    To set the primary group to 'None', it must be specified in quotes.
    Otherwise Salt will interpret it as the Python value of None and no primary
    group changes will occur. See the example below.

    CLI Example:

    .. code-block:: bash

        salt '*' file.chown c:\temp\test.txt myusername
        salt '*' file.chown c:\temp\test.txt myusername pgroup=Administrators
        salt '*' file.chown c:\temp\test.txt myusername "pgroup='None'"
     N/A group N/A N/A func_name N/A N/A {0}.chown format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The group parameter has no effect when using {0} on Windows systems; see function docs for details. format func_name N/A N/A N/A log debug N/A N/A win_file.py {0} Ignoring the group parameter for {1} format func_name path N/A group None N/A err N/A N/A N/A N/A userSID domainName objectType N/A N/A win32security LookupAccountName None user N/A N/A N/A pywinerror N/A N/A err User does not exist
 N/A pgroup N/A N/A N/A N/A N/A groupSID domainName objectType N/A N/A win32security LookupAccountName None pgroup N/A N/A N/A pywinerror N/A N/A err Group does not exist
 N/A N/A groupSID None N/A N/A N/A N/A N/A os path exists path N/A N/A err File not found N/A err N/A N/A err N/A N/A follow_symlinks N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A path N/A _resolve_symlink path N/A privilege_enabled False N/A N/A N/A privilege_enabled N/A _enable_privilege N/A win32security SE_RESTORE_NAME N/A pgroup N/A N/A N/A N/A win32security SetNamedSecurityInfo path N/A win32security SE_FILE_OBJECT N/A N/A win32security OWNER_SECURITY_INFORMATION N/A win32security GROUP_SECURITY_INFORMATION userSID groupSID None None N/A N/A N/A N/A win32security SetNamedSecurityInfo path N/A win32security SE_FILE_OBJECT N/A win32security OWNER_SECURITY_INFORMATION userSID None None None N/A N/A privilege_enabled N/A N/A N/A _disable_privilege N/A win32security SE_RESTORE_NAME N/A None N/A chpgrp N/A N/A path group N/A N/A N/A 
    Change the group of a file

    Under Windows, this will set the rarely used primary group of a file.
    This generally has no bearing on permissions unless intentionally
    configured and is most commonly used to provide Unix compatibility (e.g.
    Services For Unix, NFS services).

    Ensure you know what you are doing before using this function.

    To set the primary group to 'None', it must be specified in quotes.
    Otherwise Salt will interpret it as the Python value of None and no primary
    group changes will occur. See the example below.

    CLI Example:

    .. code-block:: bash

        salt '*' file.chpgrp c:\temp\test.txt Administrators
        salt '*' file.chpgrp c:\temp\test.txt "'None'"
     N/A N/A group None N/A N/A N/A SaltInvocationError The group value was specified as None and is invalid. If you mean the built-in None group, specify the group in lowercase, e.g. 'none'. N/A err N/A N/A N/A N/A groupSID domainName objectType N/A N/A win32security LookupAccountName None group N/A N/A N/A pywinerror N/A N/A err Group does not exist
 N/A N/A N/A N/A N/A os path exists path N/A N/A err File not found
 N/A err N/A N/A err N/A privilege_enabled False N/A N/A N/A privilege_enabled N/A _enable_privilege N/A win32security SE_RESTORE_NAME N/A N/A N/A win32security SetNamedSecurityInfo path N/A win32security SE_FILE_OBJECT N/A win32security GROUP_SECURITY_INFORMATION None groupSID None None N/A N/A privilege_enabled N/A N/A N/A _disable_privilege N/A win32security SE_RESTORE_NAME N/A None N/A chgrp N/A N/A path group N/A N/A N/A 
    Change the group of a file

    Under Windows, this will do nothing.

    While a file in Windows does have a 'primary group', this rarely used
    attribute generally has no bearing on permissions unless intentionally
    configured and is only used to support Unix compatibility features (e.g.
    Services For Unix, NFS services).

    Salt, therefore, remaps this function to do nothing while still being
    compatible with Unix behavior. When managing Windows systems,
    this function is superfluous and will generate an info level log entry if
    used directly.

    If you do actually want to set the 'primary group' of a file, use `file
    .chpgrp`.

    CLI Example:

    .. code-block:: bash

        salt '*' file.chpgrp c:\temp\test.txt administrators
     N/A func_name N/A N/A {0}.chgrp format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The function {0} should not be used on Windows systems; see function docs for details. format func_name N/A N/A N/A log debug N/A N/A win_file.py {0} Doing nothing for {1} format func_name path N/A None N/A stats N/A N/A path hash_type follow_symlinks N/A sha256 True N/A N/A 
    Return a dict containing the stats for a given file

    Under Windows, `gid` will equal `uid` and `group` will equal `user`.

    While a file in Windows does have a 'primary group', this rarely used
    attribute generally has no bearing on permissions unless intentionally
    configured and is only used to support Unix compatibility features (e.g.
    Services For Unix, NFS services).

    Salt, therefore, remaps these properties to keep some kind of
    compatibility with Unix behavior. If the 'primary group' is required, it
    can be accessed in the `pgroup` and `pgid` properties.

    CLI Example:

    .. code-block:: bash

        salt '*' file.stats /etc/passwd
     N/A ret N/A N/A N/A N/A N/A N/A os path exists path N/A N/A ret N/A N/A follow_symlinks N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A path N/A _resolve_symlink path N/A pstat N/A N/A os stat path N/A N/A ret N/A inode N/A pstat st_ino N/A N/A ret N/A uid N/A get_uid path follow_symlinks False N/A N/A ret N/A gid N/A ret N/A uid N/A N/A ret N/A user N/A uid_to_user N/A ret N/A uid N/A N/A ret N/A group N/A ret N/A user N/A N/A ret N/A pgid N/A get_pgid path follow_symlinks N/A N/A ret N/A pgroup N/A gid_to_group N/A ret N/A pgid N/A N/A ret N/A atime N/A pstat st_atime N/A N/A ret N/A mtime N/A pstat st_mtime N/A N/A ret N/A ctime N/A pstat st_ctime N/A N/A ret N/A size N/A pstat st_size N/A N/A ret N/A mode N/A str N/A oct N/A N/A stat S_IMODE N/A pstat st_mode N/A hash_type N/A N/A N/A ret N/A sum N/A get_sum path hash_type N/A N/A ret N/A type file N/A N/A N/A stat S_ISDIR N/A pstat st_mode N/A N/A N/A ret N/A type dir N/A N/A N/A stat S_ISCHR N/A pstat st_mode N/A N/A N/A ret N/A type char N/A N/A N/A stat S_ISBLK N/A pstat st_mode N/A N/A N/A ret N/A type block N/A N/A N/A stat S_ISREG N/A pstat st_mode N/A N/A N/A ret N/A type file N/A N/A N/A stat S_ISLNK N/A pstat st_mode N/A N/A N/A ret N/A type link N/A N/A N/A stat S_ISFIFO N/A pstat st_mode N/A N/A N/A ret N/A type pipe N/A N/A N/A stat S_ISSOCK N/A pstat st_mode N/A N/A N/A ret N/A type socket N/A N/A ret N/A target N/A N/A N/A os path realpath path N/A ret N/A get_attributes N/A N/A path N/A N/A N/A 
    Return a dictionary object with the Windows
    file attributes for a file.

    CLI Example:

    .. code-block:: bash

        salt '*' file.get_attributes c:\temp\a.txt
     N/A err N/A N/A N/A N/A N/A os path exists path N/A N/A err File not found
 N/A err N/A N/A err N/A attributes N/A N/A intAttributes N/A N/A win32file GetFileAttributes path N/A N/A attributes N/A archive N/A N/A intAttributes 32 32 N/A N/A attributes N/A reparsePoint N/A N/A intAttributes 1024 1024 N/A N/A attributes N/A compressed N/A N/A intAttributes 2048 2048 N/A N/A attributes N/A directory N/A N/A intAttributes 16 16 N/A N/A attributes N/A encrypted N/A N/A intAttributes 16384 16384 N/A N/A attributes N/A hidden N/A N/A intAttributes 2 2 N/A N/A attributes N/A normal N/A N/A intAttributes 128 128 N/A N/A attributes N/A notIndexed N/A N/A intAttributes 8192 8192 N/A N/A attributes N/A offline N/A N/A intAttributes 4096 4096 N/A N/A attributes N/A readonly N/A N/A intAttributes 1 1 N/A N/A attributes N/A system N/A N/A intAttributes 4 4 N/A N/A attributes N/A temporary N/A N/A intAttributes 256 256 N/A N/A attributes N/A mountedVolume False N/A N/A N/A N/A attributes N/A reparsePoint True N/A N/A attributes N/A directory True N/A N/A fileIterator N/A N/A win32file FindFilesIterator path N/A findDataTuple N/A next fileIterator N/A N/A N/A findDataTuple N/A 6 2684354563 N/A N/A N/A attributes N/A mountedVolume True N/A N/A attributes N/A symbolicLink False N/A N/A N/A attributes N/A reparsePoint True N/A N/A fileIterator N/A N/A win32file FindFilesIterator path N/A findDataTuple N/A next fileIterator N/A N/A N/A findDataTuple N/A 6 2684354572 N/A N/A N/A attributes N/A symbolicLink True N/A attributes N/A set_attributes N/A N/A path archive hidden normal notIndexed readonly system temporary N/A None None None None None None None N/A N/A 
    Set file attributes for a file.  Note that the normal attribute
    means that all others are false.  So setting it will clear all others.

    CLI Example:

    .. code-block:: bash

        salt '*' file.set_attributes c:\temp\a.txt normal=True
        salt '*' file.set_attributes c:\temp\a.txt readonly=True hidden=True
     N/A err N/A N/A N/A N/A N/A os path exists path N/A N/A err File not found
 N/A normal N/A N/A N/A archive hidden notIndexed readonly system temporary N/A N/A err Normal attribute may not be used with any other attributes
 N/A N/A N/A N/A win32file SetFileAttributes path 128 N/A err N/A N/A err N/A intAttributes N/A N/A win32file GetFileAttributes path N/A N/A archive None N/A N/A archive N/A N/A intAttributes 32 N/A N/A intAttributes 65503 N/A N/A hidden None N/A N/A hidden N/A N/A intAttributes 2 N/A N/A intAttributes 65533 N/A N/A notIndexed None N/A N/A notIndexed N/A N/A intAttributes 8192 N/A N/A intAttributes 57343 N/A N/A readonly None N/A N/A readonly N/A N/A intAttributes 1 N/A N/A intAttributes 65534 N/A N/A system None N/A N/A system N/A N/A intAttributes 4 N/A N/A intAttributes 65531 N/A N/A temporary None N/A N/A temporary N/A N/A intAttributes 256 N/A N/A intAttributes 65279 N/A N/A N/A win32file SetFileAttributes path intAttributes N/A set_mode N/A N/A path mode N/A N/A N/A 
    Set the mode of a file

    This just calls get_mode, which returns None because we don't use mode on
    Windows

    CLI Example:

    .. code-block:: bash

        salt '*' file.set_mode /etc/passwd 0644
     N/A func_name N/A N/A {0}.set_mode format __virtualname__ N/A N/A N/A N/A __opts__ get fun func_name N/A N/A N/A N/A log info N/A N/A The function {0} should not be used on Windows systems; see function docs for details. The value returned is always None. format func_name N/A N/A get_mode path N/A remove N/A N/A path force N/A False N/A N/A 
    Remove the named file or directory

    :param str path: The path to the file or directory to remove.

    :param bool force: Remove even if marked Read-Only

    :return: True if successful, False if unsuccessful
    :rtype: bool

    CLI Example:

    .. code-block:: bash

        salt '*' file.remove C:\Temp
     N/A path N/A N/A N/A os path expanduser path N/A N/A N/A N/A N/A os path exists path N/A N/A N/A N/A File/Folder not found: {0} format path N/A N/A N/A N/A N/A os path isabs path N/A N/A N/A SaltInvocationError File path must be absolute. N/A force N/A N/A file_attributes N/A N/A win32api GetFileAttributes path N/A N/A N/A win32api SetFileAttributes path N/A win32con FILE_ATTRIBUTE_NORMAL N/A N/A N/A N/A N/A N/A os path isfile path N/A N/A N/A N/A os remove path N/A N/A N/A is_link path N/A N/A N/A N/A os rmdir path N/A N/A name N/A N/A os listdir path N/A N/A item N/A N/A {0}\{1} format path name N/A N/A remove item force N/A N/A N/A os rmdir path N/A N/A N/A N/A OSError IOError N/A exc N/A N/A force N/A N/A N/A N/A win32api SetFileAttributes path file_attributes N/A N/A CommandExecutionError N/A N/A Could not remove {0!r}: {1} format path exc N/A True N/A symlink N/A N/A src link N/A N/A N/A 
    Create a symbolic link to a file

    This is only supported with Windows Vista or later and must be executed by
    a user with the SeCreateSymbolicLink privilege.

    The behavior of this function matches the Unix equivalent, with one
    exception - invalid symlinks cannot be created. The source path must exist.
    If it doesn't, an error will be raised.

    CLI Example:

    .. code-block:: bash

        salt '*' file.symlink /path/to/file /path/to/link
     N/A N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A N/A SaltInvocationError Symlinks are only supported on Windows Vista or later. N/A N/A N/A N/A N/A os path exists src N/A N/A N/A SaltInvocationError The given source path does not exist. N/A N/A N/A N/A N/A os path isabs src N/A N/A N/A SaltInvocationError File path must be absolute. N/A src N/A N/A N/A os path normpath src N/A link N/A N/A N/A os path normpath link N/A is_dir N/A N/A N/A os path isdir src N/A N/A N/A N/A N/A win32file CreateSymbolicLink link src N/A int is_dir N/A True N/A N/A N/A pywinerror N/A exc N/A N/A N/A CommandExecutionError N/A N/A Could not create '{0}' - [{1}] {2} format link N/A exc winerror N/A exc strerror N/A _is_reparse_point N/A N/A path N/A N/A N/A 
    Returns True if path is a reparse point; False otherwise.
     N/A N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A N/A SaltInvocationError Symlinks are only supported on Windows Vista or later. N/A result N/A N/A win32file GetFileAttributesW path N/A N/A result -1 N/A N/A N/A SaltInvocationError The path given is not valid, symlink or not. (does it exist?) N/A N/A result 1024 N/A N/A True N/A N/A False N/A is_link N/A N/A path N/A N/A N/A 
    Check if the path is a symlink

    This is only supported on Windows Vista or later.

    Inline with Unix behavior, this function will raise an error if the path
    is not a symlink, however, the error raised will be a SaltInvocationError,
    not an OSError.

    CLI Example:

    .. code-block:: bash

       salt '*' file.is_link /path/to/link
     N/A N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A False N/A N/A N/A N/A N/A _is_reparse_point path N/A N/A False N/A N/A N/A SaltInvocationError N/A N/A False N/A reparse_data N/A _get_reparse_data path N/A N/A reparse_data N/A N/A False N/A header_parser N/A N/A struct Struct L N/A N/A ReparseTag N/A N/A header_parser unpack N/A reparse_data N/A N/A header_parser size N/A N/A N/A N/A ReparseTag 2684420095 2684354572 N/A N/A False N/A N/A True N/A _get_reparse_data N/A N/A path N/A N/A N/A 
    Retrieves the reparse point data structure for the given path.

    If the path is not a reparse point, None is returned.

    See http://msdn.microsoft.com/en-us/library/ff552012.aspx for details on the
    REPARSE_DATA_BUFFER structure returned.
     N/A N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A N/A SaltInvocationError Symlinks are only supported on Windows Vista or later. N/A path N/A N/A N/A os path normpath path N/A N/A N/A _is_reparse_point path N/A N/A None N/A fileHandle None N/A N/A N/A fileHandle N/A N/A win32file CreateFileW path 2147483648 1 None 3 N/A 2097152 33554432 N/A reparseData N/A N/A win32file DeviceIoControl fileHandle 589992 None 16384 N/A N/A fileHandle N/A N/A N/A N/A win32file CloseHandle fileHandle N/A reparseData N/A readlink N/A N/A path N/A N/A N/A 
    Return the path that a symlink points to

    This is only supported on Windows Vista or later.

    Inline with Unix behavior, this function will raise an error if the path is
    not a symlink, however, the error raised will be a SaltInvocationError, not
    an OSError.

    CLI Example:

    .. code-block:: bash

        salt '*' file.readlink /path/to/link
     N/A N/A N/A N/A N/A sys getwindowsversion major 6 N/A N/A N/A SaltInvocationError Symlinks are only supported on Windows Vista or later. N/A N/A N/A N/A N/A os path isabs path N/A N/A N/A SaltInvocationError Path to link must be absolute. N/A reparse_data N/A _get_reparse_data path N/A N/A reparse_data N/A N/A N/A SaltInvocationError The path specified is not a reparse point (symlinks are a type of reparse point). N/A header_parser N/A N/A struct Struct L N/A N/A ReparseTag N/A N/A header_parser unpack N/A reparse_data N/A N/A header_parser size N/A N/A N/A N/A ReparseTag 2684420095 2684354572 N/A N/A N/A SaltInvocationError N/A N/A The path specified is not a symlink, but another type of reparse point (0x{0:X}). format ReparseTag N/A data_parser N/A N/A struct Struct LHHHHHHL N/A N/A ReparseTag ReparseDataLength Reserved SubstituteNameOffset SubstituteNameLength PrintNameOffset PrintNameLength Flags N/A N/A data_parser unpack N/A reparse_data N/A N/A data_parser size N/A path_buffer_offset N/A data_parser size N/A absolute_substitute_name_offset N/A path_buffer_offset SubstituteNameOffset N/A target_bytes N/A reparse_data N/A absolute_substitute_name_offset N/A absolute_substitute_name_offset SubstituteNameLength N/A target N/A N/A target_bytes decode UTF-16 N/A N/A N/A target startswith \??\ N/A N/A target N/A target N/A 4 N/A N/A N/A target N/A N/A win32file GetLongPathName target N/A N/A N/A pywinerror N/A exc N/A N/A N/A N/A exc winerror 2 N/A N/A target N/A N/A target N/A