(self, path, api: Any = 'public', method='GET', params={}, headers: dict = None, body: Str = None)
| 4532 | return None |
| 4533 | |
| 4534 | def sign(self, path, api: Any = 'public', method='GET', params={}, headers: dict = None, body: Str = None): |
| 4535 | url = self.implode_hostname(self.urls['api'][api]) + '/' + path |
| 4536 | if method == 'POST': |
| 4537 | headers = { |
| 4538 | 'Content-Type': 'application/json', |
| 4539 | } |
| 4540 | body = self.json(params) |
| 4541 | return {'url': url, 'method': method, 'body': body, 'headers': headers} |
| 4542 | |
| 4543 | def calculate_rate_limiter_cost(self, api, method, path, params, config={}): |
| 4544 | if ('byType' in config) and ('type' in params): |
nothing calls this directly
no test coverage detected