core-lightning/contrib/pyln-client/pyln/client
Christian Decker de619b1754 pyln: Check to see if we have annotations on funcs before accessing
We were indiscriminately accessing the `__annotations__` which could cause
issues if the function had been wrapped by some functions such as
`functools.partial`. This just checks that the access is safe before doing it.

Suggested-by: jarret <@jarret>
Signed-off-by: Christian Decker <@cdecker>
2020-01-02 16:05:52 +01:00
..
__init__.py pyln: Bump versions of pyln-client and pyln-testing 2019-12-31 16:43:04 +01:00
lightning.py funding: enable push_msat 2019-12-24 12:04:01 -06:00
plugin.py pyln: Check to see if we have annotations on funcs before accessing 2020-01-02 16:05:52 +01:00