mirror of
https://github.com/agresdominik/predictify.git
synced 2026-04-21 17:55:49 +00:00
Fixed doc
This commit is contained in:
+7
-7
@@ -1,16 +1,16 @@
|
||||
import dotenv
|
||||
import time
|
||||
from urllib.parse import urlencode, urlparse, parse_qs
|
||||
from http.server import BaseHTTPRequestHandler, HTTPServer
|
||||
import requests
|
||||
import os
|
||||
import json
|
||||
import os
|
||||
import time
|
||||
from http.server import BaseHTTPRequestHandler, HTTPServer
|
||||
from urllib.parse import parse_qs, urlencode, urlparse
|
||||
|
||||
import dotenv
|
||||
import requests
|
||||
|
||||
TOKEN_FILE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'env', 'tokens.json')
|
||||
|
||||
|
||||
def authenticate(scope: str) -> tuple:
|
||||
def authenticate(scope: str) -> str:
|
||||
"""
|
||||
This function authenticates the user and returns the access token
|
||||
|
||||
|
||||
Reference in New Issue
Block a user