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

#747 Create new GregorianType class in extras/gregorianType.py to add… #1073

Closed

Conversation

prince17080
Copy link

@prince17080 prince17080 commented May 26, 2020

… gYear and gYearMonth types

Create new GregorianType class in extras/gregorianType.py to add gYear and gYearMonth types

Signed-off-by: Prince Sachdeva prince17080@iiitd.ac.in

Closes #747

prince17080 and others added 6 commits May 27, 2020 01:33
…to add gYear and gYearMonth types

Signed-off-by: Prince Sachdeva <prince17080@iiitd.ac.in>
… to add gYear and gYearMonth types

Signed-off-by: Prince Sachdeva <prince17080@iiitd.ac.in>
…lated to this issue

Signed-off-by: Prince Sachdeva <prince17080@iiitd.ac.in>
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 75.698% when pulling f64eb1f on prince17080:GH-747-add-gYear-gYearMonth into 037ea51 on RDFLib:master.

@nicholascar
Copy link
Member

Hi @prince17080, Thanks for this PR - we agree that i's a good idea to have handling for gYear & gMonth.

However, there are two issues with this PR:

  1. You need to rebase it to current master status
  2. We don't agree with the use of a special class for just handling these two literals and prefer extending the use of the mapper. Why cant you just created two parsing functions, perhaps parse_gyear & parse_gyearmonth?

@nicholascar
Copy link
Member

@prince17080 I'll close this soon (a week?) if I don't here back from you here.

@nicholascar
Copy link
Member

closing as no response from raiser and this work is likely superseded by other gYear/gMonth worm already merged

@nicholascar nicholascar closed this Jul 2, 2021
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.

xsd:gYear and xsd:gYearMonth error
3 participants