Skip to content

SK-2833: Add backward-compatible deprecation shims for update_log_level and FileUploadRequest#244

Merged
saileshwar-skyflow merged 6 commits into
saileshwar/SK-2813-python-v2-code-clean-up-and-fixesfrom
saileshwar/SK-2833-implement-deprecation-for-existing-function-and-classess
May 20, 2026
Merged

SK-2833: Add backward-compatible deprecation shims for update_log_level and FileUploadRequest#244
saileshwar-skyflow merged 6 commits into
saileshwar/SK-2813-python-v2-code-clean-up-and-fixesfrom
saileshwar/SK-2833-implement-deprecation-for-existing-function-and-classess

Conversation

@saileshwar-skyflow
Copy link
Copy Markdown
Collaborator

Why

  • Customers upgrading from older SDK versions would hit silent failures (AttributeError, wrong column uploads) with no guidance on what changed

  • Python's DeprecationWarning mechanism and @deprecated decorator let us keep old APIs working while steering developers to the new interfaces before removal

Outcome

  • Skyflow.update_log_level() and the old FileUploadRequest(table, skyflow_id, column_name) positional style both still work — existing code won't break on upgrade

  • Developers see compile-time IDE strikethrough and runtime console warnings with exact migration instructions, backed by 100% unit test coverage on the public client interface

@saileshwar-skyflow saileshwar-skyflow merged commit f30e8c9 into saileshwar/SK-2813-python-v2-code-clean-up-and-fixes May 20, 2026
4 checks passed
saileshwar-skyflow added a commit that referenced this pull request May 20, 2026
…e fixes (#242)

* SK-2833: Add backward-compatible deprecation shims for update_log_level and FileUploadRequest (#244)

* SK-2813: Fix and clean up SDK sample files (#243)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants