diff --git a/cognite/pygen/_core/generators.py b/cognite/pygen/_core/generators.py index 9dde3e9bf..11e418fe8 100644 --- a/cognite/pygen/_core/generators.py +++ b/cognite/pygen/_core/generators.py @@ -647,10 +647,6 @@ def generate_data_class_file(self, is_pydantic_v2: bool) -> str: else: raise ValueError(f"Unknown data class {type(self.data_class)}") - def create_start_node_set(group: list[EdgeAPIClass]) -> str: - joined = ", ".join([g.start_class.write_name for g in group]) - return f"{{{joined}}}" - if is_pydantic_v2 and self.data_class.has_any_field_model_prefix: names = ", ".join(field.name for field in self.data_class.fields if field.name.startswith("name")) warnings.warn(