Skip to content

Undefined name: INVALID_CONTEXT_ENTRY #1440

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

Closed
wants to merge 1 commit into from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Oct 12, 2021

$ flake8 . --count --select=E9,F63,F7,F82,Y --show-source --statistics

./rdflib/rdflib/plugins/shared/jsonld/context.py:420:23: F821 undefined name 'INVALID_CONTEXT_ENTRY'
                raise INVALID_CONTEXT_ENTRY
                      ^
./rdflib/rdflib/plugins/shared/jsonld/context.py:426:23: F821 undefined name 'INVALID_CONTEXT_ENTRY'
                raise INVALID_CONTEXT_ENTRY
                      ^

Proposed Changes

  • Define INVALID_CONTEXT_ENTRY which is currently an undefined name raised on lines 424 and 430.

@nicholascar
Copy link
Member

Thanks again @cclauss! The JSON-LD code really does still have a lot of incomplete bits. We really need it reviewed to work out how much of JSON-LD 1.1 we support.

@ashleysommer
Copy link
Contributor

Note, this issue is already fixed in this pending JSON-LD PR here: #1436

@nicholascar
Copy link
Member

@ashleysommer ok, closing this PR as a duplicate.

@cclauss cclauss deleted the INVALID_CONTEXT_ENTRY branch October 14, 2021 06:09
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