-
Notifications
You must be signed in to change notification settings - Fork 59
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
Update README.md #81
Update README.md #81
Conversation
@mattkeanny As far as I understand you can use any of the three numbering formats interchangeably, is there a disadvantage to calling out that you can use Or are you saying that (Sorry, it's been a while since I've worked with EPO data, so I'm rusty). |
@gsong Indeed Tested the ops api on the ops developers site using /published-data/publication/original/EP.(1 000 000)/... -> fails |
Hi Matt. This is interesting, thanks for sharing, and for your patch. Now, I am thinking about whether the library should also respect this fact, and reject that operation by raising an appropriate exception educating the user correspondingly. With kind regards, NB: On the failing CI checks, I will try to submit a patch that will take into account that PRs submitted by external contributors do not have access to the credentials/secrets deposited at GHA, in this case |
Makes sense indeed. Would spare a user pondering over the meaning of the returned 404 error. |
@amotl: Skimming through the ops guide, section 4.5 reads:
which would tend to reinforce your suggestion to raise an early exception when using |
Added #84. @mattkeanny In this PR, would you be willing to change client method table https://github.com/ip-tools/python-epo-ops-client?tab=readme-ov-file#client to include a checkbox "Works with Original" column? Or something similar that conveys the spirit of this discussion? |
@gsong I would prefer not to "overcrowd" the table, which to me looks succinct. I think this could go nicely into api docs and docstrings? |
That sounds reasonable. Feel free to tack on to the issue or add another issue. |
Hi. GH-86 has a corresponding patch. After merging it, and rebasing, this PR should also signal a successful outcome on CI. Edit: Merged. Please rebase. |
Removed input format 'original' from example comment. Acc. to the OPS guide, section 2.1.2, the 'original' format is used only by the OPS number-service (section 3.3) hence only confusing in combination with the published_data() method.
I've rebased through GitHub UI, and will merge the patch now. |
I'm so sorry, I'm coming at all this as an outsider... I'm literally searching issues to help me find documentation 😅 You mention the client method table being succinct, but I'm having a hard time understanding it.. Somewhere could you provide an example of how to call one of the rows? Shall I create a separate issue for this ... issue? Many thanks, |
@CholoTook The library is a wrapper around the OPS API, and the difficulty at present is that there is no tutorial or examples scripts to showcase the different methods and responses. So you'll have to refer back to the OPS reference guide most of the time. Perhaps you want to open a discussion item on a specific topic or an issue, whichever you think is appropriate? |
Removed input format 'original' from example comment. Acc. to the OPS guide, section 2.1.2, the 'original' format is used only by the OPS number-service (section 3.3) hence only confusing in combination with the published_data() method.