Conda 25.1.x Documentationcurrently used to register additional authentication handlers for conda via the Auth Handlers plugin hook, but may also accom- modate more use cases in the future. Here is an example of how it may be defined available authentication handler called, "test-auth- handler" registered via the aforementioned plugin hook: channel_settings: - channel: https://some.custom/channel auth: test-auth-handler user: my-user-account conda integrate the "hook + entry point" structure by utilizing the Pluggy Python framework. This imple- mentation can be broken down via the following two steps: • Define the hook(s) to be registered0 码力 | 822 页 | 5.20 MB | 8 月前3
Conda 24.11.x Documentationcurrently used to register additional authentication handlers for conda via the Auth Handlers plugin hook, but may also accom- modate more use cases in the future. Here is an example of how it may be defined available authentication handler called, "test-auth- handler" registered via the aforementioned plugin hook: channel_settings: - channel: https://some.custom/channel auth: test-auth-handler user: my-user-account conda integrate the "hook + entry point" structure by utilizing the Pluggy Python framework. This imple- mentation can be broken down via the following two steps: • Define the hook(s) to be registered0 码力 | 818 页 | 5.21 MB | 8 月前3
Conda 24.5.x Documentationcurrently used to register additional authentication handlers for conda via the Auth Handlers plugin hook, but may also accom- modate more use cases in the future. Here is an example of how it may be defined available authentication handler called, "test-auth- handler" registered via the aforementioned plugin hook: channel_settings: - channel: https://some.custom/channel auth: test-auth-handler user: my-user-account conda integrate the "hook + entry point" structure by utilizing the Pluggy Python framework. This imple- mentation can be broken down via the following two steps: • Define the hook(s) to be registered0 码力 | 794 页 | 5.01 MB | 8 月前3
Conda 24.7.x Documentationcurrently used to register additional authentication handlers for conda via the Auth Handlers plugin hook, but may also accom- modate more use cases in the future. Here is an example of how it may be defined available authentication handler called, "test-auth- handler" registered via the aforementioned plugin hook: channel_settings: - channel: https://some.custom/channel auth: test-auth-handler user: my-user-account conda integrate the "hook + entry point" structure by utilizing the Pluggy Python framework. This imple- mentation can be broken down via the following two steps: • Define the hook(s) to be registered0 码力 | 808 页 | 4.97 MB | 8 月前3
Django Q Documentation
Release 0.4.6want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional keyword arguments: hook The function This enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) django-redis , you can configure Django Q to use its connection pool. 1.2.5 Reference async(func, *args, hook=None, group=None, timeout=None, save=None, sync=False, redis=None, q_options=None, **kwargs) Puts0 码力 | 36 页 | 249.57 KB | 1 年前3
Conda 24.3.x Documentationconda integrate the "hook + entry point" structure by utilizing the Pluggy Python framework. This imple- mentation can be broken down via the following two steps: • Define the hook(s) to be registered registered • Register the plugin under the conda entrypoint namespace Hook Below is an example of a very basic plugin "hook": Listing 1: my_plugin.py import conda.plugins @conda.plugins.hookimpl def conda_subcommands(): subprocess_call to use text=True to avoid manual encod- ing/decoding. (#13240) • Add a new plugin hook giving plugin authors the ability to define new settings. (#13554) • Optimize module imports to speed0 码力 | 786 页 | 4.98 MB | 8 月前3
Conda 24.4.x Documentationconda integrate the "hook + entry point" structure by utilizing the Pluggy Python framework. This imple- mentation can be broken down via the following two steps: • Define the hook(s) to be registered registered • Register the plugin under the conda entrypoint namespace Hook Below is an example of a very basic plugin "hook": Listing 1: my_plugin.py import conda.plugins @conda.plugins.hookimpl def conda_subcommands(): subprocess_call to use text=True to avoid manual encod- ing/decoding. (#13240) • Add a new plugin hook giving plugin authors the ability to define new settings. (#13554) • Optimize module imports to speed0 码力 | 786 页 | 4.99 MB | 8 月前3
Conda 24.9.x Documentationcurrently used to register additional authentication handlers for conda via the Auth Handlers plugin hook, but may also accom- modate more use cases in the future. Here is an example of how it may be defined available authentication handler called, "test-auth- handler" registered via the aforementioned plugin hook: channel_settings: - channel: https://some.custom/channel auth: test-auth-handler user: my-user-account conda integrate the "hook + entry point" structure by utilizing the Pluggy Python framework. This imple- mentation can be broken down via the following two steps: • Define the hook(s) to be registered0 码力 | 799 页 | 5.26 MB | 8 月前3
Django Q Documentation
Release 0.5.3want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional keyword arguments: hook The function This enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) django-redis , you can configure Django Q to use its connection pool. 1.3.5 Reference async(func, *args, hook=None, group=None, timeout=None, save=None, sync=False, redis=None, q_options=None, **kwargs) Puts0 码力 | 38 页 | 358.27 KB | 1 年前3
Django Q Documentation
Release 0.5.3to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional keyword arguments: hook The function This enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) com/niwinz/django-redis] , you can configure Django Q to use its connection pool. Reference async(func, *args, hook=None, group=None, timeout=None, save=None, sync=False, redis=None, q_options=None, **kwargs) Puts0 码力 | 46 页 | 474.97 KB | 1 年前3
共 392 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40













