(
self,
configuration=None,
header_name=None,
header_value=None,
cookie=None,
pool_threads=1,
)
| 64 | _pool = None |
| 65 | |
| 66 | def __init__( |
| 67 | self, |
| 68 | configuration=None, |
| 69 | header_name=None, |
| 70 | header_value=None, |
| 71 | cookie=None, |
| 72 | pool_threads=1, |
| 73 | ): |
| 74 | if configuration is None: |
| 75 | configuration = Configuration.get_default_copy() |
| 76 | self.configuration = configuration |
| 77 | self.pool_threads = pool_threads |
| 78 | |
| 79 | self.rest_client = rest.RESTClientObject(configuration) |
| 80 | self.default_headers = {} |
| 81 | if header_name is not None: |
| 82 | self.default_headers[header_name] = header_value |
| 83 | self.cookie = cookie |
| 84 | # Set default User-Agent. |
| 85 | self.user_agent = "OpenAPI-Generator/0.1.0/python" |
| 86 | |
| 87 | def __enter__(self): |
| 88 | return self |
nothing calls this directly
no test coverage detected