-
Notifications
You must be signed in to change notification settings - Fork 0
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 functions for getting metadata about a specific person #15
Conversation
feat: filter db by date fix: notebook
rename unittest workflow
…or a full protocol
…ncludes no text sequences
…nto add_context_functions
add context sequence functions
pyriksdagen/utils.py
Outdated
@@ -26,6 +26,10 @@ | |||
XML_NS = "{http://www.w3.org/XML/1998/namespace}" | |||
TEI_NS = "{http://www.tei-c.org/ns/1.0}" | |||
|
|||
def fetch_ns(): | |||
return {"tei_ns": "{http://www.tei-c.org/ns/1.0}", |
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.
Use the lines above?
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.
I use namespaces as a dict object all over the project. Would you be happy with a compromise?
def fetch_ns():
return {"tei_ns": TEI_NS,
"xml_ns": XML_NS}
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.
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.
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.
Sure
…en into fetch-meta-vars
dev