DuniterPy issueshttps://git.duniter.org/clients/python/duniterpy/-/issues2020-01-15T07:51:04+01:00https://git.duniter.org/clients/python/duniterpy/-/issues/112Problem with Unlock.inline2020-01-15T07:51:04+01:00Vincent TexierProblem with Unlock.inlineIf I do a simple Unlock.inline document, I can not parse it...
```python
# I know this unlock is good
good_unlock = Unlock(0, [SIGParameter(0)])
str_unlock = good_unlock.inline()
# I check the inline format is good. It returns "0:SIG(0)...If I do a simple Unlock.inline document, I can not parse it...
```python
# I know this unlock is good
good_unlock = Unlock(0, [SIGParameter(0)])
str_unlock = good_unlock.inline()
# I check the inline format is good. It returns "0:SIG(0)" as expected.
print (str_unlock)
# Unlock.from_inline method refuses the inline format
false_unlock = Unlock.from_inline(str_unlock)
print (false_unlock.inline())
```
Result:
```python
Traceback (most recent call last):
File "test_all_inline.py", line 14, in <module>
false_unlock = Unlock.from_inline(str_unlock)
File "/home/thomas/.cache/pypoetry/virtualenvs/silkaj-aMRjPcbt-py3.7/lib/python3.7/site-packages/duniterpy/documents/transaction.py", line 424, in from_inline
raise MalformedDocumentError("Inline input")
duniterpy.documents.document.MalformedDocumentError: Could not parse field Inline input
```
The inline string regexp is not correct and should not include a newline at the end.
Because it is in the Transaction raw format that the Transaction document will add newline, not in the Transaction compact format. So the Unlock inline is without newline.0.56.0Vincent TexierVincent Texierhttps://git.duniter.org/clients/python/duniterpy/-/issues/101Publish auto-documentation on gitlab-pages with gitlab-ci2019-08-29T08:11:25+02:00Vincent TexierPublish auto-documentation on gitlab-pages with gitlab-ci0.56.0Vincent TexierVincent Texierhttps://git.duniter.org/clients/python/duniterpy/-/issues/58Support for WS2P API2020-01-15T17:34:15+01:00Vincent TexierSupport for WS2P APISupport for WS2P is not finish. Need to be completed with examples.
Documentation on API :
https://git.duniter.org/nodes/common/doc/blob/ws2p_v1/rfc/0004_ws2p_v1.mdSupport for WS2P is not finish. Need to be completed with examples.
Documentation on API :
https://git.duniter.org/nodes/common/doc/blob/ws2p_v1/rfc/0004_ws2p_v1.md0.56.0Vincent TexierVincent Texier