Skip to content

Commit f691ac6

Browse files
authored
Remove deprecated modules (#67)
1 parent d7d4232 commit f691ac6

File tree

8 files changed

+52
-1072
lines changed

8 files changed

+52
-1072
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
- Remove `response_validation.py` module.
11+
1012
## [1.0.7] - 2025-04-02
1113

1214
- Update `Project.query()` method based on API changes from question grouping feature.

src/cleanlab_codex/internal/tlm.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

src/cleanlab_codex/internal/utils.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class {name or cls.__name__}:
3737
"""
3838

3939

40-
def generate_pydantic_model_docstring(cls: type[BaseModel], name: str) -> str:
40+
def generate_pydantic_model_docstring(cls: type[BaseModel], name: str) -> str: # no cov # TODO: unignore once used
4141
formatted_annotations = "\n ".join(
4242
format_annotation_from_field_info(field_name, field_info) for field_name, field_info in cls.model_fields.items()
4343
)
@@ -56,7 +56,9 @@ class {name}(BaseModel):
5656
"""
5757

5858

59-
def format_annotation_from_field_info(field_name: str, field_info: FieldInfo) -> str:
59+
def format_annotation_from_field_info(
60+
field_name: str, field_info: FieldInfo
61+
) -> str: # no cov # TODO: unignore once used
6062
annotation = field_name
6163
if field_info.annotation:
6264
annotation += f": '{annotation_to_str(field_info.annotation)}'"
@@ -65,7 +67,9 @@ def format_annotation_from_field_info(field_name: str, field_info: FieldInfo) ->
6567
return annotation
6668

6769

68-
def format_pydantic_field_docstring(field_name: str, field_info: FieldInfo) -> str:
70+
def format_pydantic_field_docstring(
71+
field_name: str, field_info: FieldInfo
72+
) -> str: # no cov # TODO: unignore once used
6973
arg_str = f"- **`{field_name}`**"
7074
if field_info.annotation:
7175
arg_str += f" ({annotation_to_str(field_info.annotation)})"

0 commit comments

Comments
 (0)