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
1 change: 1 addition & 0 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ generation:
generateTests: true
generateNewTests: true
skipResponseBodyAssertions: true
multipartArrayFormat: standard
python:
version: 0.11.22
additionalDependencies:
Expand Down
92 changes: 0 additions & 92 deletions src/glean/api_client/_hooks/multipart_fix_hook.py

This file was deleted.

4 changes: 0 additions & 4 deletions src/glean/api_client/_hooks/registration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from .types import Hooks
from .multipart_fix_hook import MultipartFileFieldFixHook
from .agent_file_upload_error_hook import AgentFileUploadErrorHook


Expand All @@ -14,8 +13,5 @@ def init_hooks(hooks: Hooks):
with an instance of a hook that implements that specific Hook interface
Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance"""

# Register hook to fix multipart file field names that incorrectly have '[]' suffix
hooks.register_sdk_init_hook(MultipartFileFieldFixHook())

# Register hook to provide helpful error messages for agent file upload issues
hooks.register_after_error_hook(AgentFileUploadErrorHook())
203 changes: 0 additions & 203 deletions tests/test_multipart_fix_hook.py

This file was deleted.