Skip to content

Commit

Permalink
Ignoring typing in to_rdf function
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Jan 23, 2025
1 parent b8c2430 commit d7d8072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bam_masterdata/metadata/entities.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
from typing import TYPE_CHECKING, Any, Optional
from typing import TYPE_CHECKING, Any, Optional, no_type_check

from pydantic import BaseModel, ConfigDict, Field, model_validator
from rdflib import BNode, Literal
Expand Down Expand Up @@ -90,6 +90,7 @@ def to_dict(self) -> dict:
# assigned properties can be Mandatory or Optional, can be PropertyType or ObjectType
# ? For OBJECT TYPES
# ? `generated_code_prefix`, `auto_generated_codes`?
@no_type_check
def to_rdf(self, namespace: "Namespace", graph: "Graph") -> None:
entity_uri = namespace[self.defs.id]

Expand Down

1 comment on commit d7d8072

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
bam_masterdata
   logger.py80100% 
bam_masterdata/cli
   cli.py824949 40%
   entities_to_excel.py5433 94%
   entities_to_json.py3655 86%
   entities_to_rdf.py635353 16%
   fill_masterdata.py188175175 7%
bam_masterdata/datamodel
   collection_types.py370100% 
   dataset_types.py184184184 0%
   object_types.py15150100% 
   property_types.py8000100% 
   vocabulary_types.py137210100% 
bam_masterdata/metadata
   definitions.py850100% 
   entities.py883030 66%
bam_masterdata/openbis
   get_entities.py534343 19%
   login.py633 50%
bam_masterdata/utils
   utils.py4277 83%
TOTAL1696255297% 

Tests Skipped Failures Errors Time
65 1 💤 0 ❌ 0 🔥 19.221s ⏱️

Please sign in to comment.