Skip to content

Fix submodule imports#1383

Merged
quis merged 2 commits into
mainfrom
fix-imports
Jun 19, 2026
Merged

Fix submodule imports#1383
quis merged 2 commits into
mainfrom
fix-imports

Conversation

@quis

@quis quis commented Jun 18, 2026

Copy link
Copy Markdown
Member

Fixes these errors/warnings:

error[possibly-missing-submodule]: Submodule `parse` might not have been imported
  --> notifications_utils/s3.py:28:16
   |
28 |         tags = urllib.parse.urlencode(tags)
   |                ^^^^^^^^^^^^
   |
help: Consider explicitly importing `urllib.parse`
warning[possibly-missing-submodule]: Submodule `exceptions` might not have been imported
  --> notifications_utils/s3.py:94:12
   |
94 |     except botocore.exceptions.ClientError as e:
   |            ^^^^^^^^^^^^^^^^^^^
   |
help: Consider explicitly importing `botocore.exceptions`

None of the apps import urllib or botocore from these modules (for example from notifications_utils.s3 import botocore) so this isn’t a breaking change

quis added 2 commits June 18, 2026 14:26
error[possibly-missing-submodule]: Submodule `parse` might not have been imported
  --> notifications_utils/s3.py:28:16
   |
28 |         tags = urllib.parse.urlencode(tags)
   |                ^^^^^^^^^^^^
   |
help: Consider explicitly importing `urllib.parse`

and parse
Fixes this warning:

warning[possibly-missing-submodule]: Submodule `exceptions` might not have been imported
  --> notifications_utils/s3.py:94:12
   |
94 |     except botocore.exceptions.ClientError as e:
   |            ^^^^^^^^^^^^^^^^^^^
   |
help: Consider explicitly importing `botocore.exceptions`

@joybytes joybytes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quis quis merged commit 1eccc10 into main Jun 19, 2026
6 checks passed
@quis quis deleted the fix-imports branch June 19, 2026 12:25
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.

2 participants