Commit 3cc3c0b90714bbf7a2638b16faec69aba82a4050
1 parent
60fa545d
Improve PEP8 compliance in op_client_helper.py
Showing
1 changed file
with
6 additions
and
5 deletions
1 | from openprocurement_client.client import Client | 1 | from openprocurement_client.client import Client |
2 | import sys | 2 | import sys |
3 | 3 | ||
4 | -def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8' ): | ||
5 | - return Client(key, host_url, api_version ) | 4 | + |
5 | +def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8'): | ||
6 | + return Client(key, host_url, api_version) | ||
7 | + | ||
6 | 8 | ||
7 | def get_internal_id(get_tenders_function, date): | 9 | def get_internal_id(get_tenders_function, date): |
8 | - result = get_tenders_function({"offset": date, "opt_fields": 'tenderID', }) | ||
9 | - #import pdb; pdb.Pdb(stdout=sys.__stdout__).set_trace() | ||
10 | - return result | 10 | + result = get_tenders_function({"offset": date, "opt_fields": 'tenderID'}) |
11 | + return result |
Please
register
or
login
to post a comment