-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adapt example on PyPi.org #148
Comments
Also add three basic examples of using reqif as a library Closes #148
Thanks for reporting this. I have just pushed an update in the README file. When I release a new Pip in a few days, the PyPI example will also get updated. I have started creating the basic examples of how the reqif library can be scripted with Python. Here are they: https://github.com/strictdoc-project/reqif/tree/main/tests/integration/examples. Let me know which examples would you like to see and also, please open your other issues if you still have difficulties when working with the library. |
Hi Stanislav,I noticed that you provided a bunch if tests wich heloed me in getting my work done. Thanks for your nice projectBest regardsWasilis-------- Ursprüngliche Nachricht --------Von: Stanislav Pankevich ***@***.***>Datum: Mo., 11. Sept. 2023, 22:55An: strictdoc-project/reqif ***@***.***>Cc: Wasilios Goutas ***@***.***>, Author ***@***.***>Betreff: Re: [strictdoc-project/reqif] adapt example on PyPi.org (Issue #148)
Thanks for reporting this. I have just pushed an update in the README file. When I release a new Pip in a few days, the PyPI example will also get updated.
I have started creating the basic examples of how the reqif library can be scripted with Python. Here are they: https://github.com/strictdoc-project/reqif/tree/main/tests/integration/examples.
Let me know which examples would you like to see and also, please open your other issues if you still have difficulties when working with the library.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The example code on Pypi.org, handling regifz files isn't working on Python3.10 as the iterator on the dictionary used so far is returning a string.
Please adapt the line
for reqif_bundle in reqifz_bundle.reqif_bundles:
to be
for key in reqifz_bundle.reqif_bundles.keys():
as well as
for attachment in reqifz_bundle.attachments:
to be
for key, attachment in reqifz_bundle.attachments.items():
or similar
The text was updated successfully, but these errors were encountered: