File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 644644)
645645
646646# This list can be further extended with more quantities and units as needed.
647+ # Boolean values can occur, just as dimensionless values:
648+
649+ dimensionless = PhysicalQuantity (
650+ name = "Dimensionless" ,
651+ description = "A dimensionless quantity is a quantity that has no units." ,
652+ SIUnit = str (unit_registry .dimensionless ),
653+ SIUnitSymbol = f"{ unit_registry .dimensionless :~} " ,
654+ )
655+
656+ boolean = PhysicalUnit (
657+ name = "Boolean" ,
658+ description = "Boolean is a physical quantity that represents a binary value of true or false." ,
659+ symbol = f"{ unit_registry .dimensionless :~} " ,
660+ physicalQuantity = dimensionless ,
661+ )
662+
663+ dimensionless_unit = PhysicalUnit (
664+ name = str (unit_registry .dimensionless ),
665+ description = "The dimensionless unit is a unit of measurement that has no units." ,
666+ symbol = f"{ unit_registry .dimensionless :~} " ,
667+ physicalQuantity = dimensionless ,
668+ )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class NortechAPISettings(BaseSettings):
1616
1717 URL : str = Field (default = "https://api.apps.nor.tech" )
1818 KEY : str = Field (default = ...)
19- USER_AGENT : str = Field (default = "nortech-python/0.9.3 " )
19+ USER_AGENT : str = Field (default = "nortech-python/0.9.4 " )
2020 IGNORE_PAGINATION : bool = True
2121 EXPERIMENTAL_FEATURES : bool = False
2222 TIMEOUT : float | Timeout = Field (default = Timeout (connect = 10 , read = 60 ))
Original file line number Diff line number Diff line change 11[project ]
22name = " nortech"
3- version = " 0.9.3 "
3+ version = " 0.9.4 "
44description = " The official Python library for Nortech AI"
55authors = [
66 { name = " Nortech AI" , email = " info@nortech.ai" }
You can’t perform that action at this time.
0 commit comments