Sign
Decorators to inherit signature form one function to another.
Mainly useful when a function or method takes *args, **kwargs and pass them
(mostly unmodified) to another function or methods.
This will merge the signature of the decorated function, with the target function to simplify inspection.
example
def foo(a=1, b=2):
pass
@sign.inherit(foo):
def bar(*args, **kwargs):
return foo(*args, **kwargs)
bar signature should appear as:
bar(*args, a=1, b=2, **kwargs)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sign-0.0.2.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sign-0.0.2-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file sign-0.0.2.tar.gz.
File metadata
- Download URL: sign-0.0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f0c3c65cc98c0442bbea2334e82c69e756923cf7a0ad5a78766f8151eadb915
|
|
| MD5 |
bcae275528f1fd69bc0818419b63e6ad
|
|
| BLAKE2b-256 |
f8242397a4e23327dc49e56c3356520a837f17728f0ed1f9613ac966dd16a1bf
|
File details
Details for the file sign-0.0.2-py3-none-any.whl.
File metadata
- Download URL: sign-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eba1dc78b07859bc8ef9e4e04a2e242a368d3504e6fd9cd830066548f0e652ec
|
|
| MD5 |
3564fe547f04c04fb011943f493dbb7f
|
|
| BLAKE2b-256 |
8864a4a2d014a1e9b66a0fa569d23aa139869ae223223ccf48d793e8a017fcac
|