diff --git a/cognite/client/data_classes/_base.py b/cognite/client/data_classes/_base.py index e36eea529a..45ab40f68a 100644 --- a/cognite/client/data_classes/_base.py +++ b/cognite/client/data_classes/_base.py @@ -71,7 +71,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. @@ -130,7 +130,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. @@ -296,7 +296,7 @@ def dump(self, camel_case: bool = True) -> list[dict[str, Any]]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: list[dict[str, Any]]: A list of dicts representing the instance. @@ -573,7 +573,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. diff --git a/cognite/client/data_classes/annotation_types/primitives.py b/cognite/client/data_classes/annotation_types/primitives.py index 79a513bccc..5752b604d4 100644 --- a/cognite/client/data_classes/annotation_types/primitives.py +++ b/cognite/client/data_classes/annotation_types/primitives.py @@ -21,7 +21,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. diff --git a/cognite/client/data_classes/datapoints.py b/cognite/client/data_classes/datapoints.py index 1cee1fc632..4809012740 100644 --- a/cognite/client/data_classes/datapoints.py +++ b/cognite/client/data_classes/datapoints.py @@ -336,7 +336,7 @@ def dump(self, camel_case: bool = True, convert_timestamps: bool = False) -> dic """Dump the DatapointsArray into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Default: False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. convert_timestamps (bool): Convert timestamps to ISO 8601 formatted strings. Default: False (returns as integer, milliseconds since epoch) Returns: @@ -522,7 +522,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the datapoints into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representing the instance. @@ -789,7 +789,7 @@ def dump(self, camel_case: bool = True, convert_timestamps: bool = False) -> lis """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Default: False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. convert_timestamps (bool): Convert timestamps to ISO 8601 formatted strings. Default: False (returns as integer, milliseconds since epoch) Returns: diff --git a/cognite/client/data_classes/sequences.py b/cognite/client/data_classes/sequences.py index 1963c67663..f7a1c21ecb 100644 --- a/cognite/client/data_classes/sequences.py +++ b/cognite/client/data_classes/sequences.py @@ -496,7 +496,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the sequence data into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representing the instance. diff --git a/cognite/client/data_classes/templates.py b/cognite/client/data_classes/templates.py index b1f93f8233..8b9b02a06c 100644 --- a/cognite/client/data_classes/templates.py +++ b/cognite/client/data_classes/templates.py @@ -239,7 +239,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. @@ -371,7 +371,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. diff --git a/cognite/client/data_classes/transformations/__init__.py b/cognite/client/data_classes/transformations/__init__.py index fed32a9649..baa4c624af 100644 --- a/cognite/client/data_classes/transformations/__init__.py +++ b/cognite/client/data_classes/transformations/__init__.py @@ -64,7 +64,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. @@ -355,7 +355,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. @@ -597,7 +597,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. diff --git a/cognite/client/data_classes/transformations/common.py b/cognite/client/data_classes/transformations/common.py index e9899c69f7..eea5be67e8 100644 --- a/cognite/client/data_classes/transformations/common.py +++ b/cognite/client/data_classes/transformations/common.py @@ -334,7 +334,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance. @@ -375,7 +375,7 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]: """Dump the instance into a json serializable Python data type. Args: - camel_case (bool): Use camelCase for attribute names. Defaults to False. + camel_case (bool): Use camelCase for attribute names. Defaults to True. Returns: dict[str, Any]: A dictionary representation of the instance.