Bug 50538 - Usage chapter in README works only in python 3.7+
Usage chapter in README works only in python 3.7+
Status: VERIFIED FIXED
Product: Components
Classification: Unclassified
Component: udm-rest-api-client
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Daniel Tröder
Ole Schwiegert
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-25 09:06 CET by Ole Schwiegert
Modified: 2020-01-27 10:08 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Schwiegert univentionstaff 2019-11-25 09:06:50 CET
asyncio.run() is only available in python 3.7+.

Since this client is marked as compatible with 3.6+ the example code should be able to run with python 3.6.
Comment 1 Daniel Tröder univentionstaff 2019-12-06 20:31:44 CET
[master d75b88e] add Python 3.6 compatible code to example in README
Comment 3 Ole Schwiegert univentionstaff 2020-01-27 10:08:31 CET
Doc was adapted: OK