Created
September 4, 2020 17:36
-
-
Save gilsonbp/abd7b7bfe64c6d8aa99b48363890c407 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In[2]: from catalog_keeper.clients import seller_product_moderation_client | |
In[3]: dir(seller_product_moderation_client) | |
Out[3]: | |
['__class__', | |
'__delattr__', | |
'__dict__', | |
'__dir__', | |
'__doc__', | |
'__eq__', | |
'__format__', | |
'__ge__', | |
'__getattribute__', | |
'__gt__', | |
'__hash__', | |
'__init__', | |
'__init_subclass__', | |
'__le__', | |
'__lt__', | |
'__module__', | |
'__ne__', | |
'__new__', | |
'__reduce__', | |
'__reduce_ex__', | |
'__repr__', | |
'__setattr__', | |
'__sizeof__', | |
'__str__', | |
'__subclasshook__', | |
'__weakref__', | |
'_build_model', | |
'_build_models', | |
'_client', | |
'_get_lookup_value', | |
'_lookup_value', | |
'_process_update_data', | |
'client_class', | |
'create', | |
'create_many', | |
'create_or_update', | |
'delete', | |
'fetch', | |
'fetch_many', | |
'get_seller_product_moderation', | |
'lookup_field', | |
'model_class', | |
'search', | |
'search_all_pages', | |
'search_one', | |
'update', | |
'update_seller_product_moderation'] | |
In[4]: seller_product_moderation_client.batch_update() | |
Traceback (most recent call last): | |
File "/home/gilson/.cache/pypoetry/virtualenvs/catalog-keeper-wEMi8ct9-py3.8/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code | |
exec(code_obj, self.user_global_ns, self.user_ns) | |
File "<ipython-input-4-bbd24181349b>", line 1, in <module> | |
seller_product_moderation_client.batch_update() | |
AttributeError: 'SellerProductModerationModelClient' object has no attribute 'batch_update' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment