From Eager Futures/Promises to Lazy Continuations: Evolving an Actor Library Based on Lessons Learned
From Eager Futures/Promises to Lazy Continuations Evolving an Actor Library Based on Lessons Learned from Large-Scale Deployments Benjamin Hindman @benh CppCon 2021prologue ● past life at UC0 码力 | 264 页 | 588.96 KB | 5 月前3Laravel 3.2 Documentation
.................... 94 Eager Loading .............................................................................................................. 95 Constraining Eager Loads ................... implementation available. With the capacity to easily apply constraints to both relationships and nested eager-loading you'll have complete control over your data with all of the 2 conveniences of ActiveRecord Upgrading From 3.2.4 Replace the laravel folder. Laravel 3.2.4 Speed up many to many eager loading mapping. Tweak the Eloquent::changed() method. Various bug fixes and improvements0 码力 | 139 页 | 1.13 MB | 1 年前3Click Documentation Release 1.2.dev0
password.encode('rot13')) 1.4. Options 13 Click Documentation, Release 1.2.dev0 1.4.10 Callbacks and Eager Options Sometimes you want a parameter to completely change the execution flow. This for instance the version and then exits the application. In such cases you need two concepts: eager parameters and a callback. An eager parameter is a parameter that is handled before others and a callback is what executes an earlier required parameter does not produce an error message. For instance if --version was not eager and a parameter --foo was required and defined before, you would need to specify it for --version0 码力 | 64 页 | 301.16 KB | 1 年前3Click Documentation Release 2.6
encrypt(password): click.echo('Encrypting password to %s' % password.encode('rot13')) 1.4.10 Callbacks and Eager Options Sometimes, you want a parameter to completely change the execution flow. For instance, this version and then exits the application. In such cases, you need two concepts: eager parameters and a callback. An eager parameter is a parameter that is handled before others, and a callback is what executes earlier required parameter does not produce an error message. For instance, if --version was not eager and a parameter --foo was required and defined before, you would need to specify it for --version0 码力 | 83 页 | 354.87 KB | 1 年前3Click Documentation Release 3.3
encrypt(password): click.echo('Encrypting password to %s' % password.encode('rot13')) 1.5.10 Callbacks and Eager Options Sometimes, you want a parameter to completely change the execution flow. For instance, this version and then exits the application. In such cases, you need two concepts: eager parameters and a callback. An eager parameter is a parameter that is handled before others, and a callback is what executes earlier required parameter does not produce an error message. For instance, if --version was not eager and a parameter --foo was required and defined before, you would need to specify it for --version0 码力 | 95 页 | 387.75 KB | 1 年前3Click Documentation Release 4.2.dev0
encrypt(password): click.echo('Encrypting password to %s' % password.encode('rot13')) 1.5.11 Callbacks and Eager Options Sometimes, you want a parameter to completely change the execution flow. For instance, this example of how to implement such a flag. In such cases, you need two concepts: eager parameters and a callback. An eager parameter is a parameter that is handled before others, and a callback is what executes earlier required parameter does not produce an error message. For instance, if --version was not eager and 18 Chapter 1. Documentation Click Documentation, Release 4.2.dev0 a parameter --foo was required0 码力 | 101 页 | 407.32 KB | 1 年前3Click Documentation Release 6.7
os.environ.get('USER', '')) def hello(username): print("Hello,", username) 1.5.12 Callbacks and Eager Options Sometimes, you want a parameter to completely change the execution flow. For instance, this example of how to implement such a flag. In such cases, you need two concepts: eager parameters and a callback. An eager parameter is a parameter that is handled before others, and a callback is what executes earlier required parameter does not produce an error message. For instance, if --version was not eager and a parameter --foo was required and defined before, you would need to specify it for --version0 码力 | 107 页 | 428.42 KB | 1 年前3Click Documentation Release 5.2.dev0
os.environ.get('USER', '')) def hello(username): print("Hello,", username) 1.5.12 Callbacks and Eager Options Sometimes, you want a parameter to completely change the execution flow. For instance, this example of how to implement such a flag. In such cases, you need two concepts: eager parameters and a callback. An eager parameter is a parameter that is handled before others, and a callback is what executes earlier required parameter does not produce an error message. For instance, if --version was not eager and a parameter --foo was required and defined before, you would need to specify it for --version0 码力 | 103 页 | 416.61 KB | 1 年前3Celery v5.0.5 Documentation
example, celery.py may contain: id: group: chord: correlation_id: args: kwargs: origin: retries: is_eager: eta: expires: hostname: delivery_info: from celery import Celery class MyCelery(Celery): the preferred method is mocking. Eager mode The eager mode enabled by the task_always_eager setting is by definition not suitable for unit tests. When testing with eager mode you are only testing an emulation task_acks_late CELERY_ACKS_ON_FAILURE_OR_TIMEOUT task_acks_on_failure_or_timeout CELERY_ALWAYS_EAGER task_always_eager CELERY_ANNOTATIONS task_annotations CELERY_COMPRESSION task_compression CELERY_CREATE_MISSING_QUEUES0 码力 | 2315 页 | 2.14 MB | 1 年前3Celery v5.0.1 Documentation
Celery class MyCelery(Celery): id: group: chord: correlation_id: args: kwargs: origin: retries: is_eager: eta: expires: hostname: delivery_info: reply-to: def gen_task_name(self, name, module): the preferred method is mocking. Eager mode The eager mode enabled by the task_always_eager setting is by definition not suitable for unit tests. When testing with eager mode you are only testing an emulation task_acks_late CELERY_ACKS_ON_FAILURE_OR_TIMEOUT task_acks_on_failure_or_timeout CELERY_ALWAYS_EAGER task_always_eager CELERY_ANNOTATIONS task_annotations CELERY_COMPRESSION task_compression CELERY_CREATE_MISSING_QUEUES0 码力 | 2313 页 | 2.13 MB | 1 年前3
共 876 条
- 1
- 2
- 3
- 4
- 5
- 6
- 88