Skip to content
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 code to new TED-API version #339

Merged
merged 6 commits into from
Nov 3, 2022
Merged

update code to new TED-API version #339

merged 6 commits into from
Nov 3, 2022

Conversation

CaptainOfHacks
Copy link
Collaborator

No description provided.

@swarmia
Copy link

swarmia bot commented Nov 2, 2022

Copy link
Collaborator

@costezki costezki left a comment

Choose a reason for hiding this comment

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

No ints pls

@@ -103,9 +105,15 @@ class TEDMetadata(Metadata):
PD: str = None
PR: str = None
RC: List[str] = None
RN: int = None
RN: List[int] = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

No ints pls only str

@@ -90,8 +90,7 @@ def notice_2015():
@pytest.fixture
def notice_2018():
notice_data = read_notice("045279-2018.json")
notice_content = base64.b64decode(notice_data["content"]).decode(encoding="utf-8")
xml_manifestation = XMLManifestation(object_data=notice_content)
xml_manifestation = XMLManifestation(object_data=notice_data["content"])
Copy link
Collaborator

Choose a reason for hiding this comment

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

looks cleaner

@sonarcloud
Copy link

sonarcloud bot commented Nov 3, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 8 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@CaptainOfHacks CaptainOfHacks merged commit 09d1086 into main Nov 3, 2022
@CaptainOfHacks CaptainOfHacks deleted the feature/TED-914 branch November 3, 2022 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants