Mypy 1.10.0+dev Documentation
Mypy Documentation Release 1.10.0+dev.790e8a73d8671a41cae419b4ea07579bfb2bc292.dirty Jukka Feb 20, 2024 FIRST STEPS 1 Contents 3 1.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . Indices and tables 221 Index 223 i ii Mypy Documentation, Release 1.10.0+dev.790e8a73d8671a41cae419b4ea07579bfb2bc292.dirty Mypy is a static type checker for Python. Type checkers help ensure that you’re version will be bumped. FIRST STEPS 1 Mypy Documentation, Release 1.10.0+dev.790e8a73d8671a41cae419b4ea07579bfb2bc292.dirty 2 FIRST STEPS CHAPTER ONE CONTENTS 1.1 Getting started This chapter introduces0 码力 | 234 页 | 913.89 KB | 1 年前3Celery 2.4 Documentation
up RabbitMQ To use celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ rabbitmqctl add_user myuser mypassword $ rabbitmqctl add_vhost myvhost set_permissions -p myvhost myuser ".*" ".*" ".*" See the RabbitMQ Admin Guide for more information about access control. Installing RabbitMQ on OS X The easiest way to install RabbitMQ on Snow Leopard is using result.get() # Waits until the task is done and returns the retval. 8 >>> result.result # direct access to result, doesn't re-raise errors. 8 >>> result.successful() # returns True if the task didn't0 码力 | 395 页 | 1.54 MB | 1 年前3Celery 3.1 Documentation
up RabbitMQ To use celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost set_permissions -p myvhost myuser ".*" ".*" ".*" See the RabbitMQ Admin Guide for more information about access control. Installing RabbitMQ on OS X The easiest way to install RabbitMQ on OS X is using Homebrew format is: sqs://aws_access_key_id:aws_secret_access_key@ you must remember to include the “@” at the end. The login credentials can also be set using the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY0 码力 | 607 页 | 2.27 MB | 1 年前3Celery 3.0 Documentation
up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost set_permissions -p myvhost myuser ".*" ".*" ".*" See the RabbitMQ Admin Guide for more information about access control. Installing RabbitMQ on macOS The easiest way to install RabbitMQ on macOS is using Homebrew format is: sqs://aws_access_key_id:aws_secret_access_key@ you must remember to include the “@” at the end. The login credentials can also be set using the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY0 码力 | 703 页 | 2.60 MB | 1 年前3Celery v4.0.0 Documentation
up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost set_permissions -p myvhost myuser ".*" ".*" ".*" See the RabbitMQ Admin Guide for more information about access control. Installing RabbitMQ on macOS The easiest way to install RabbitMQ on macOS is using Homebrew format is: sqs://aws_access_key_id:aws_secret_access_key@ you must remember to include the “@” at the end. The login credentials can also be set using the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY0 码力 | 701 页 | 2.59 MB | 1 年前3Celery 3.1 Documentation
up RabbitMQ To use celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost [http://www.rabbitmq.com/admin-guide.html] for more information about access control [http://www.rabbitmq.com/admin-guide.html#access-control]. Installing RabbitMQ on OS X The easiest way to install RabbitMQ format is: sqs://aws_access_key_id:aws_secret_access_key@ you must remember to include the “@” at the end. The login credentials can also be set using the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY0 码力 | 887 页 | 1.22 MB | 1 年前3Scrapy 2.11 Documentation
instance is bound. Crawlers encapsulate a lot of components in the project for their single entry access (such as extensions, middlewares, signals managers, etc). See Crawler API to know more about them command using the -a option. For example: scrapy crawl myspider -a category=electronics Spiders can access arguments in their __init__ methods: import scrapy class MySpider(scrapy.Spider): name = "myspider" last): ... KeyError: 'Product does not support field: lala' Accessing all populated values To access all populated values, just use the typical dict [https://docs.python.org/3/library/stdtypes.html#dict]0 码力 | 528 页 | 706.01 KB | 1 年前3Scrapy 2.11.1 Documentation
instance is bound. Crawlers encapsulate a lot of components in the project for their single entry access (such as extensions, middlewares, signals managers, etc). See Crawler API to know more about them command using the -a option. For example: scrapy crawl myspider -a category=electronics Spiders can access arguments in their __init__ methods: import scrapy class MySpider(scrapy.Spider): name = "myspider" last): ... KeyError: 'Product does not support field: lala' Accessing all populated values To access all populated values, just use the typical dict [https://docs.python.org/3/library/stdtypes.html#dict]0 码力 | 528 页 | 706.01 KB | 1 年前3Celery v4.2.0 Documentation
up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost [http://www.rabbitmq.com/admin-guide.html] for more information about access control [http://www.rabbitmq.com/admin-guide.html#access-control]. Installing RabbitMQ on macOS The easiest way to install RabbitMQ format is: sqs://aws_access_key_id:aws_secret_access_key@ you must remember to include the “@” at the end. The login credentials can also be set using the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY0 码力 | 1110 页 | 1.36 MB | 1 年前3Celery v4.2.2 Documentation
up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost for myuser, mypassword and myvhost above. See the RabbitMQ Admin Guide for more information about access control. Installing RabbitMQ on macOS The easiest way to install RabbitMQ on macOS is using Homebrew format is: sqs://aws_access_key_id:aws_secret_access_key@ you must remember to include the “@” at the end. The login credentials can also be set using the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY0 码力 | 744 页 | 2.71 MB | 1 年前3
共 519 条
- 1
- 2
- 3
- 4
- 5
- 6
- 52