Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to submodules #1570

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support to submodules #1570

wants to merge 1 commit into from

Conversation

yqkcn
Copy link

@yqkcn yqkcn commented Jul 8, 2022

No description provided.

Copy link
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

what does this sub module stuff will help to achieve?

@yqkcn
Copy link
Author

yqkcn commented Jul 8, 2022

what does this sub module stuff will help to achieve?
I can write code like this:

import kombu

kombu.serialization.pickle_protocol = 4

without this, it raise an Exception

Traceback (most recent call last):
  File "/home/yqk/Desktop/projects/yqk_test/yqk.py", line 17, in <module>
    kombu.serialization.pickle_protocol = 4
  File "/home/yqk/.local/share/virtualenvs/yqk_test-I4BoekgW/lib/python3.9/site-packages/kombu/__init__.py", line 78, in __getattr__
    return ModuleType.__getattribute__(self, name)
AttributeError: module 'kombu' has no attribute 'serialization'

@yqkcn yqkcn requested a review from auvipy July 9, 2022 11:07
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.

None yet

2 participants