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

add support for oereblex api version 1.2.5 #345

Merged
merged 5 commits into from
Dec 13, 2024

Conversation

michmuel
Copy link
Contributor

@michmuel michmuel commented Nov 20, 2024

Add support of oereblex api version 1.2.5

Changes:

  • geolink_formatter.entity.Document:
    • new attributes "language_document", "laguage_link"
  • geolink_formatter.parser:
    • changing / adding methods in order to enable the parsing of xml-docs of api version 1.2.5

@michmuel michmuel self-assigned this Nov 20, 2024
@michmuel michmuel marked this pull request as draft November 20, 2024 12:19
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 98.46154% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.35%. Comparing base (a27645c) to head (fc4c63f).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #345      +/-   ##
==========================================
- Coverage   99.64%   99.35%   -0.29%     
==========================================
  Files           4        5       +1     
  Lines         279      309      +30     
==========================================
+ Hits          278      307      +29     
- Misses          1        2       +1     

geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/utils.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/utils.py Fixed Show fixed Hide fixed
geolink_formatter/utils.py Fixed Show fixed Hide fixed
geolink_formatter/parser.py Fixed Show fixed Hide fixed
geolink_formatter/utils.py Fixed Show fixed Hide fixed
@@ -1,10 +1,12 @@
# -*- coding: utf-8 -*-
""" Provides classes for parsing the xml document from the geolink api. """
from importlib import resources as impresources

Check warning

Code scanning / Pylint (reported by Codacy)

No name 'resources' in module 'importlib' Warning

No name 'resources' in module 'importlib'
@michmuel michmuel force-pushed the 330-oereblex-api-version-1-2-5 branch from 00ef710 to fc4c63f Compare December 4, 2024 08:30
@michmuel michmuel marked this pull request as ready for review December 4, 2024 09:22
@vvmruder
Copy link
Contributor

I was looking at the changes mostly from geolink2oereb point of view. And it looks ok for me.

@michmuel michmuel merged commit ab23b28 into master Dec 13, 2024
18 checks passed
@michmuel michmuel deleted the 330-oereblex-api-version-1-2-5 branch December 13, 2024 09:39
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.

4 participants