Jupyter Notebook 5.1.0 Documentationwhen notebooks open, we have added a signature to the notebook, stored in metadata. The notebook server verifies this signature when a notebook is opened. If the signature stored in the notebook metadata does command-line with: $ jupyter trust mynotebook.ipynb [other notebooks.ipynb] This just generates a new signature stored in each notebook. You can generate a new notebook signing key with: $ jupyter trust --reset serializer. Session.session [CUnicode] Default: '' The UUID identifying this session. Session.signature_scheme [Unicode] Default: 'hmac-sha256' The digest scheme used to construct the message0 码力 | 128 页 | 1.72 MB | 2 年前3
ItsDangerous Documentation (1.1.x)
Release 1.1.03 Exceptions 11 3.4 Signing With Timestamps 12 3.5 URL Safe Serialization 13 3.6 JSON Web Signature (JWS) 14 3.7 Encoding Utilities 15 3.8 License 15 3.9 Changes 16 Python Module Index 21 attach a signature to a specific string: from itsdangerous import Signer s = Signer("secret-key") s.sign("my string") b'my string.wh6tMHxLgJqB6oY1uT73iMlyrOA' The signature is appended you won't be able to tell if it was Unicode or a bytestring. If the value is changed, the signature will no longer match, and unsigned will raise a BadSignature exception: s.unsigned(b"different0 码力 | 28 页 | 178.96 KB | 2 年前3
Celery v4.0.0 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for this Celery uses something called signatures. A signature wraps the arguments and execution across the wire. You can create a signature for the add task using the arguments (2, 2), and a countdown of 10 seconds like this: ```python >>> add.signature((2, 2), countdown=10) tasks.add(2 . Signature instances also supports the calling API: meaning they have the delay and apply_async methods. But there's a difference in that the signature may already have an argument signature specified0 码力 | 2106 页 | 2.23 MB | 2 年前3
Celery 3.0 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for this Celery uses something called signatures. A signature wraps the arguments and execution across the wire. You can create a signature for the add task using the arguments (2, 2), and a countdown of 10 seconds like this: ```python >>> add.signature((2, 2), countdown=10) tasks.add(2 . Signature instances also supports the calling API: meaning they have the delay and apply_async methods. But there's a difference in that the signature may already have an argument signature specified0 码力 | 2110 页 | 2.23 MB | 2 年前3
Celery v4.4.5 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for which Celery uses something called signatures. A signature wraps the arguments and across the wire. You can create a signature for the add task using the arguments (2, 2), and a countdown of 10 seconds like this: ```python >>> add.signature((2, 2), countdown=10) tasks.add(2 again... Signature instances also support the calling API, meaning they have delay and apply_async methods. But there's a difference in that the signature may already have an argument signature specified0 码力 | 1215 页 | 1.44 MB | 2 年前3
Celery v5.0.0 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for which Celery uses something called signatures. A signature wraps the arguments and across the wire. You can create a signature for the add task using the arguments (2, 2), and a countdown of 10 seconds like this: ```python >>> add.signature((2, 2), countdown=10) tasks.add(2 again... Signature instances also support the calling API, meaning they have delay and apply_async methods. But there's a difference in that the signature may already have an argument signature specified0 码力 | 2309 页 | 2.13 MB | 2 年前3
Celery v5.0.5 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for which Celery uses something called signatures. A signature wraps the arguments and across the wire. You can create a signature for the add task using the arguments (2, 2), and a countdown of 10 seconds like this: ```python >>> add.signature((2, 2), countdown=10) tasks.add(2 again... Signature instances also support the calling API, meaning they have delay and apply_async methods. But there's a difference in that the signature may already have an argument signature specified0 码力 | 2315 页 | 2.14 MB | 2 年前3
Celery v5.0.2 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for which Celery uses something called signatures. A signature wraps the arguments and across the wire. You can create a signature for the add task using the arguments (2, 2), and a countdown of 10 seconds like this: ```python >>> add.signature((2, 2), countdown=10) tasks.add(2 again... Signature instances also support the calling API, meaning they have delay and apply_async methods. But there's a difference in that the signature may already have an argument signature specified0 码力 | 2313 页 | 2.14 MB | 2 年前3
Celery v5.0.1 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for which Celery uses something called signatures. A signature wraps the arguments and across the wire. You can create a signature for the add task using the arguments (2, 2), and a countdown of 10 seconds like this: ```python >>> add.signature((2, 2), countdown=10) tasks.add(2 again... Signature instances also support the calling API, meaning they have delay and apply_async methods. But there's a difference in that the signature may already have an argument signature specified0 码力 | 2313 页 | 2.13 MB | 2 年前3
Celery v4.2.0 Documentationyou may want to pass the signature of a task invocation to another process or as an argument to another function, for this Celery uses something called signatures. A signature wraps the arguments and execution across the wire. You can create a signature for the add task using the arguments $ (2, 2) $ , and a countdown of 10 seconds like this: >>> add.signature((2, 2), countdown=10) tasks.add(2, 2) again... Signature instances also support the calling API: meaning they have the delay and apply_async methods. But there’s a difference in that the signature may already have an argument signature specified0 码力 | 1110 页 | 1.36 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













