Skip to content

fix(python): remove duplicate hosted error alias#1828

Open
nightcityblade wants to merge 1 commit into
pmxt-dev:mainfrom
nightcityblade:fix/issue-1811
Open

fix(python): remove duplicate hosted error alias#1828
nightcityblade wants to merge 1 commit into
pmxt-dev:mainfrom
nightcityblade:fix/issue-1811

Conversation

@nightcityblade

Copy link
Copy Markdown

Fixes #1811

Summary

  • remove the unused ERROR_PATTERN_TABLE alias
  • keep HOSTED_ERROR_PATTERNS as the single hosted-error dispatch table

Validation

  • black --check pmxt/_hosted_errors.py
  • pytest -q tests/test_hosted_errors.py tests/test_hosted_error_mapping.py (58 passed)
  • pytest -q (267 passed, 66 deselected)

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.

SDK drift: Python's _hosted_errors.py defines dead duplicate public alias ERROR_PATTERN_TABLE for HOSTED_ERROR_PATTERNS

1 participant