Skip to content

Commit

Permalink
Link to String.params.length
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Sep 10, 2024
1 parent a74de51 commit d619dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singer_sdk/connectors/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ def string_to_jsonschema(self, column_type: sa.types.String) -> dict: # noqa: P
column_type (:column_type:`String`): The column type.
.. versionchanged:: 0.41.0
The ``length`` attribute is now used to determine the maximum length of the
string type.
The :column_type:`length <String.params.length>` attribute is now used to
determine the maximum length of the string type.
"""
if column_type.length:
return th.StringType(max_length=column_type.length).type_dict # type: ignore[no-any-return]
Expand Down

0 comments on commit d619dc3

Please sign in to comment.