import numpy as np
from dagster_postgres.utils import get_conn_string

from dagster.utils import file_relative_path


def model_func(x, a, b):
    return a * np.exp(b * (x / 10**18 - 1.6095))


AIRBYTE_CONNECTION_ID = "your_airbyte_connection_id"
AIRBYTE_CONFIG = {"host": "localhost", "port": "8000"}
DBT_PROJECT_DIR = file_relative_path(__file__, "../mds_dbt")
DBT_PROFILES_DIR = file_relative_path(__file__, "../mds_dbt/config")
DBT_CONFIG = {"project_dir": DBT_PROJECT_DIR, "profiles_dir": DBT_PROFILES_DIR}
PG_CONFIG = {
    "con_string": get_conn_string(
        username="postgres", password="password", hostname="localhost", db_name="postgres_replica"
    )
}

import numpy as np
from dagster_postgres.utils import get_conn_string

from dagster.utils import file_relative_path


def model_func(x, a, b):
    return a * np.exp(b * (x / 10**18 - 1.6095))


AIRBYTE_CONNECTION_ID = "your_airbyte_connection_id"
AIRBYTE_CONFIG = {"host": "localhost", "port": "8000"}
DBT_PROJECT_DIR = file_relative_path(__file__, "../mds_dbt")
DBT_PROFILES_DIR = file_relative_path(__file__, "../mds_dbt/config")
DBT_CONFIG = {"project_dir": DBT_PROJECT_DIR, "profiles_dir": DBT_PROFILES_DIR}
PG_CONFIG = {
    "con_string": get_conn_string(
        username="postgres", password="password", hostname="localhost", db_name="postgres_replica"
    )
}
