Module pipelines.rj_smtr.controle_financeiro.constants

Constant values for rj_smtr controle_financeiro

Classes

class constants (value, names=None, *, module=None, qualname=None, type=None, start=1)

Constant values for rj_smtr controle_financeiro

Expand source code
class constants(Enum):  # pylint: disable=c0103
    """
    Constant values for rj_smtr controle_financeiro
    """

    SHEETS_BASE_URL = "https://docs.google.com/spreadsheets/d/\
1QVfa9b8jzpQr3gac0FIlozmTaVeArtJROA343A2lMVM/export?format=csv&gid="

    SHEETS_CAPTURE_DEFAULT_PARAMS = {
        "dataset_id": smtr_constants.CONTROLE_FINANCEIRO_DATASET_ID.value,
        "source_type": "api-csv",
        "partition_date_only": True,
    }

    SHEETS_CB_CAPTURE_PARAMS = {
        "extract_params": {
            "sheet_id": "454453523",
            "base_url": SHEETS_BASE_URL,
        },
        "table_id": "cb",
    }
    SHEETS_CETT_CAPTURE_PARAMS = {
        "extract_params": {
            "sheet_id": "0",
            "base_url": SHEETS_BASE_URL,
        },
        "table_id": "cett",
    }

    ARQUIVO_RETORNO_TABLE_ID = "arquivo_retorno"

    CCT_API_SECRET_PATH = "cct_api"
    CCT_API_BASE_URL = "https://api.cct.mobilidade.rio/api/v1"

Ancestors

  • enum.Enum

Class variables

var ARQUIVO_RETORNO_TABLE_ID
var CCT_API_BASE_URL
var CCT_API_SECRET_PATH
var SHEETS_BASE_URL
var SHEETS_CAPTURE_DEFAULT_PARAMS
var SHEETS_CB_CAPTURE_PARAMS
var SHEETS_CETT_CAPTURE_PARAMS