Skip to content

Commit

Permalink
Prevent NameError
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoly-scherbakov committed Jan 19, 2025
1 parent b0bf0c5 commit cb12844
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iolanta/facets/textual_ontology/facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def show(self) -> Widget:
URIRef('https://iolanta.tech/visualizations/index.yaml'),
as_datatype=DATATYPES.title,
)
logger.info('Index Retrieved: %s', index_title)
self.logger.info('Index Retrieved: %s', index_title)

vocabs = funcy.lpluck(
'vocab',
Expand All @@ -88,7 +88,7 @@ def show(self) -> Widget:
vocab,
as_datatype=DATATYPES.title,
)
logger.info(
self.logger.info(
'Visualization vocabulary retrieved: %s',
vocab_title,
)
Expand Down
4 changes: 4 additions & 0 deletions iolanta/node_to_qname.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import logging

from classes import typeclass
from rdflib import Graph, URIRef
from rdflib.term import Node

from iolanta.models import ComputedQName

logger = logging.getLogger(__name__)


@typeclass
def node_to_qname(node: Node, graph: Graph):
Expand Down

0 comments on commit cb12844

Please sign in to comment.