RAPTOR v18.4: Исправлена отчетность, активированы выходные
This commit is contained in:
10
invest-python-master/t_tech/invest/metadata.py
Normal file
10
invest-python-master/t_tech/invest/metadata.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
from .constants import APP_NAME
|
||||
|
||||
|
||||
def get_metadata(token: str, app_name: Optional[str] = None) -> List[Tuple[str, str]]:
|
||||
if not app_name:
|
||||
app_name = APP_NAME
|
||||
|
||||
return [("authorization", f"Bearer {token}"), ("x-app-name", app_name)]
|
||||
Reference in New Issue
Block a user