Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Conversation

@xi2pi
Copy link

@xi2pi xi2pi commented Sep 26, 2022

First approach of implementing the EP Register endpoints

xi2pi and others added 12 commits September 26, 2022 11:15
First approach of implementing the EP Register endpoints
Bumps [jupyter-core](https://github.com/jupyter/jupyter_core) from 4.11.1 to 4.11.2.
- [Release notes](https://github.com/jupyter/jupyter_core/releases)
- [Changelog](https://github.com/jupyter/jupyter_core/blob/main/CHANGELOG.md)
- [Commits](jupyter/jupyter_core@4.11.1...4.11.2)

---
updated-dependencies:
- dependency-name: jupyter-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
…/jupyter-core-4.11.2

Bump jupyter-core from 4.11.1 to 4.11.2
Add graceful error for misconfigured EPO login information
First approach of implementing the EP Register endpoints
Copy link
Owner

@parkerhancock parkerhancock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Can we delete this and replace with standalone test files?

We need a api_test.py file with your API test method, and a manager_test.py file with what you've called a model test (but I would call a manager test).

Take a look at the manager_test.py and api_test.py as examples. All you need is a class or set of functions that runs some bit of code, and then assert statements to check for correct output.

Copy link
Owner

@parkerhancock parkerhancock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's clean this file up, and get rid of the API's we don't use. Register only has a Search / Retrieval / Events / Procedural Steps endpoints, so we can delete the rest.

Remember, this is all in version control, so don't worry about losing information by deleting it, it will always be in the version history!

@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Can we delete this and replace with standalone test files?

We need a api_test.py file with your API test method, and a manager_test.py file with what you've called a model test (but I would call a manager test).

Take a look at the manager_test.py and api_test.py as examples. All you need is a class or set of functions that runs some bit of code, and then assert statements to check for correct output.

@@ -0,0 +1,175 @@
import logging
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's clean this file up, and get rid of the API's we don't use. Register only has a Search / Retrieval / Events / Procedural Steps endpoints, so we can delete the rest.

Remember, this is all in version control, so don't worry about losing information by deleting it, it will always be in the version history!

@parkerhancock
Copy link
Owner

Ignore the comments above, and take a look at the code - I thought I was adding those comments to specific files and didn't. Sorry!

@parkerhancock
Copy link
Owner

FYI - I am still working on this, but given the insane complexity of the documents fed back by the Register endpoint, I'm investigating a code generation approach to the Schema / Model files that build them from the XML schema file provided by the EPO.

Thanks!

Parker

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants