Skip to content

Commit

Permalink
Merge pull request #25 from EMMC-ASBL/boolean_dtype
Browse files Browse the repository at this point in the history
Added boolean datatype for converting from cuds 2 dlite
  • Loading branch information
francescalb authored Jan 17, 2024
2 parents 8bdd5d5 + 5d2707d commit 1137dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlite_cuds/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def datatype_cuds2dlite(datatype):
return "string"
if dtype == "http://www.w3.org/2001/XMLSchema#integer":
return "int64"
# if datatype == "bool":
# return "bool"
if dtype == "http://www.w3.org/2001/XMLSchema#boolean":
return "bool"
# if datatype == "datetime":
# return "datetime"
# if datatype == "quantity":
Expand Down

0 comments on commit 1137dd9

Please sign in to comment.