from openprocurement_client.client import Client
import sys

def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8' ):
    return Client(key, host_url, api_version )

def get_internal_id(get_tenders_function, date):
	result = get_tenders_function({"offset": date, "opt_fields": 'tenderID', })
	#import pdb; pdb.Pdb(stdout=sys.__stdout__).set_trace()
	return result

from openprocurement_client.client import Client
import sys


def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8'):
    return Client(key, host_url, api_version)


def get_internal_id(get_tenders_function, date):
    result = get_tenders_function({"offset": date, "opt_fields": 'tenderID'})
    return result

Improve PEP8 compliance in op_client_helper.py
Improve PEP8 compliance in op_client_helper.py

  from openprocurement_client.client import Client
  import sys
  
+ 
- def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8' ):
+ def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8'):
-     return Client(key, host_url, api_version )
+     return Client(key, host_url, api_version)
+ 
  
  def get_internal_id(get_tenders_function, date):
- 	result = get_tenders_function({"offset": date, "opt_fields": 'tenderID', })
+     result = get_tenders_function({"offset": date, "opt_fields": 'tenderID'})
- 	#import pdb; pdb.Pdb(stdout=sys.__stdout__).set_trace()
- 	return result
+     return result
  
Improve PEP8 compliance in op_client_helper.py
## Code Before:
from openprocurement_client.client import Client
import sys

def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8' ):
    return Client(key, host_url, api_version )

def get_internal_id(get_tenders_function, date):
	result = get_tenders_function({"offset": date, "opt_fields": 'tenderID', })
	#import pdb; pdb.Pdb(stdout=sys.__stdout__).set_trace()
	return result

## Instruction:
Improve PEP8 compliance in op_client_helper.py
## Code After:
from openprocurement_client.client import Client
import sys


def prepare_api_wrapper(key='', host_url="https://api-sandbox.openprocurement.org", api_version='0.8'):
    return Client(key, host_url, api_version)


def get_internal_id(get_tenders_function, date):
    result = get_tenders_function({"offset": date, "opt_fields": 'tenderID'})
    return result
