Skip to content

Commit

Permalink
Remove the days left warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sgandhi1311 committed Jan 30, 2025
1 parent 7d9738e commit 9bfa738
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tap_shopify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ def raise_warning():
f"The {SELECTED_DEPRECATED_STREAMS} stream(s) are no longer supported after 31st March 2025. "
"Please upgrade to the latest version of tap-shopify, which supports GraphQL endpoints for these streams."
)
else:
days_left = (CUTOFF_DATE - TODAY_UTC).days
raise ShopifyDeprecationError(
f"WARNING: The {SELECTED_DEPRECATED_STREAMS} stream(s) are deprecated and will no longer be supported "
f"after 31st March 2025, ({days_left} days left). Please upgrade to the latest version of tap-shopify, "
"which supports GraphQL endpoints for these streams."
)

@shopify_error_handling
def initialize_shopify_client():
Expand Down

0 comments on commit 9bfa738

Please sign in to comment.