This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass | |
from typing import Any, List, Optional, Dict, Tuple, Union | |
from urllib.parse import urlencode | |
import urllib3 | |
import json | |
LIMIT = 10_000 # the default on airflow api is 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
from typing import List, Union | |
class DataBase: | |
""" | |
DataBase class is a wrapper around sqlite database. | |
""" | |
def __init__(self, db_path: str): |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.