grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ì)gâã@sfddlmZmZmZeZddlmZmZddl m Z ddl m Z m Z dZe iƒadd„Zd d d „ZdS) é)Úabsolute_importÚdivisionÚprint_function)ÚMappingÚSet)Ú is_sequence)ÚCLIArgsÚ GlobalCLIArgs)ÚCLIARGScCst |¡adS)z%Initialize the global context objectsN)r Z from_optionsr )Zcli_args©r ú3/usr/lib/python3.9/site-packages/ansible/context.pyÚ_init_global_context!sr NFcs‡‡‡fdd„}|S)aAClosure over getting a key from CLIARGS with shallow copy functionality Primarily used in ``FieldAttribute`` where we need to defer setting the default until after the CLI arguments have been parsed This function is not directly bound to ``CliArgs`` so that it works with ``CLIARGS`` being replaced csDtjˆˆd�}ˆs|St|ƒr*|dd…St|ttfƒr@| ¡S|S)N)Údefault)r ÚgetrÚ isinstancerrÚcopy)Úvalue©rÚkeyÚ shallowcopyr r Úinner0s z#cliargs_deferred_get..innerr )rrrrr rr Úcliargs_deferred_get's  r)NF)Z __future__rrrÚtypeZ __metaclass__Úcollections.abcrrZ'ansible.module_utils.common.collectionsrZansible.utils.context_objectsrr Ú__all__r r rr r r r Ús