-
Notifications
You must be signed in to change notification settings - Fork 5
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
integrate TED-API v3 and add eForms sample data #518
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests needs to be fixed
|
||
return self.get_by_query(query=query) | ||
|
||
def get_by_query(self, query: dict, result_fields: dict = None) -> List[dict]: | ||
def _retrieve_document_content(self, document_content: dict) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a test for this function?
else: | ||
raise Exception(f"The notice content can't be loaded!: {response}, {response.content}") | ||
|
||
def get_generator_by_query(self, query: dict, result_fields: dict = None) -> Generator[dict, None, None]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a test for this function?
No description provided.