Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,11 @@ include = [
"sqlspec/utils/sync_tools.py", # Synchronous utility functions
"sqlspec/utils/type_guards.py", # Type guard utilities
"sqlspec/utils/fixtures.py", # File fixture loading
"sqlspec/utils/serializers.py", # Serialization helpers
"sqlspec/utils/config_tools.py", # Configuration utilities
"sqlspec/utils/deprecation.py", # Deprecation helpers
"sqlspec/utils/dispatch.py", # Dispatch helpers
"sqlspec/utils/logging.py", # Logging helpers
"sqlspec/utils/serializers/**/*.py", # Serialization helpers package
"sqlspec/utils/type_converters.py", # Adapter type converters
"sqlspec/utils/correlation.py", # Correlation context helpers
"sqlspec/utils/portal.py", # Thread portal utilities
Expand Down
356 changes: 0 additions & 356 deletions sqlspec/_serialization.py

This file was deleted.

4 changes: 2 additions & 2 deletions sqlspec/extensions/litestar/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,10 @@ def store_sqlspec_in_state() -> None:
app_config.type_encoders = encoders_dict

if app_config.type_decoders is None:
app_config.type_decoders = [(numpy_array_predicate, numpy_array_dec_hook)] # type: ignore[list-item]
app_config.type_decoders = [(numpy_array_predicate, numpy_array_dec_hook)]
else:
decoders_list = list(app_config.type_decoders)
decoders_list.append((numpy_array_predicate, numpy_array_dec_hook)) # type: ignore[arg-type]
decoders_list.append((numpy_array_predicate, numpy_array_dec_hook))
app_config.type_decoders = decoders_list

if self._correlation_headers:
Expand Down
Loading
Loading