surfdataverse 2.0.1__tar.gz → 2.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: surfdataverse
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: A Python package for ionysis Microsoft Dataverse integration
5
5
  Keywords: dataverse,microsoft,crm,api
6
6
  Author: ionysis
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "surfdataverse"
7
- version = "2.0.1"
7
+ version = "2.1.0"
8
8
  description = "A Python package for ionysis Microsoft Dataverse integration"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -693,6 +693,10 @@ class DataverseTable:
693
693
  # This is a choice field
694
694
  logger.info(f"Setting {property_name} as choice property")
695
695
  setattr(self.__class__, property_name, self.choice_property(column_logical_name))
696
+ elif field_type == "DateTime":
697
+ # This is a date and time field
698
+ logger.info(f"Setting {property_name} as datetime property")
699
+ setattr(self.__class__, property_name, self.data_property(column_logical_name))
696
700
  else:
697
701
  # This is a regular data field
698
702
  logger.info(f"Setting {property_name} as data property (fallback)")
File without changes