module initialization error: type object 'ShopifyResource' has no attribute '_url'
See original GitHub issueThe following code below is throwing the error: module initialization error: type object 'ShopifyResource' has no attribute '_url'
This code was working in the 4.0.0 release, seems like the newest release has a regression?
def get_shopify_shop():
shop_url = "https://{}:{}@{}.myshopify.com/admin".format(config.SHOPIFY_API_KEY, config.SHOPIFY_PASSWORD, config.SHOPIFY_SHOP)
shopify.ShopifyResource.set_site(shop_url)
return shopify.Shop.current()
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:11 (2 by maintainers)
Top Results From Across the Web
AttributeError: 'module' object has no attribute 'url'
I have the following problem AttributeError: 'module' object has no attribute 'url'. its from the package cherrypy. On this line
Read more >[Solved] AttributeError: 'module' object has no attribute
Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww▻Instagram ...
Read more >'module' object has no attribute in 3minutes - YouTube
"AttributeError: object has no attribute "Understand how to trouble shoot the error message. Examples used in the video:When you append a ...
Read more >Python AttributeError — What is it and how do you fix it?
AttributeError: '***' object has no attribute '***'What is an AttributeError in Python? What can you do to fix it? When does it happen?...
Read more >Python Shopify API Session Auth Error
Hi, I'm trying to use the Python Shopify API and in the initial stages of when the merchant is returned to the whitelisted...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Has it made its way to PyPI yet? I’m still only seeing 5.0.0.
Sorry all! We had some issues with publishing the package, it’s available now https://pypi.org/project/ShopifyAPI/5.0.1/