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)
Release files for sign 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sign-0.0.2.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sign-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / sign-0.0.2.tar.gz
| Download URL | sign-0.0.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f0c3c65cc98c0442bbea2334e82c69e756923cf7a0ad5a78766f8151eadb915
|
|
BLAKE2b-256 checksum How to use checksums |
f8242397a4e23327dc49e56c3356520a837f17728f0ed1f9613ac966dd16a1bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.22.0
|
Release files / sign-0.0.2-py3-none-any.whl
| Download URL | sign-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eba1dc78b07859bc8ef9e4e04a2e242a368d3504e6fd9cd830066548f0e652ec
|
|
BLAKE2b-256 checksum How to use checksums |
8864a4a2d014a1e9b66a0fa569d23aa139869ae223223ccf48d793e8a017fcac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.22.0
|