diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-04-02 21:14:59 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-04-02 21:14:59 +0300 |
commit | 02c2a514ea541dceede70cf33fbf182f15f6db76 (patch) | |
tree | 25c3b9a6d1e4c7cfa55ae9711cf63d8a5557b500 /gsxws.py | |
parent | 8a6d514696107e0944310286edab18ccd064c312 (diff) | |
download | py-gsxws-02c2a514ea541dceede70cf33fbf182f15f6db76.tar.gz py-gsxws-02c2a514ea541dceede70cf33fbf182f15f6db76.tar.bz2 py-gsxws-02c2a514ea541dceede70cf33fbf182f15f6db76.zip |
Increased suds caching limit
Diffstat (limited to 'gsxws.py')
-rwxr-xr-x | gsxws.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -471,7 +471,7 @@ class Returns(GsxObject): def get_label(self, part_number): """ The Return Label API retrieves the Return Label for a given Return Order Number. - This is another example where SUDS doesn't play nice with GSX WS (Type not found: 'comptiaCode') + (Type not found: 'comptiaCode') so we're parsing the raw SOAP response and creating a "fake" return object from that. """ if not validate(part_number, 'partNumber'): @@ -817,6 +817,7 @@ def init(env='ut', region='emea'): url = url.format(env=hosts[env], region=region) CLIENT = Client(url) + CLIENT.options.cache.setduration(weeks=2) def connect( user_id, |