Commit d27a7df3 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

solve circular imports

parent 4cadbd0c
from ._base_dag import BaseDAG, Level1DAG, Level2DAG from ._base_dag import BaseDAG, Level1DAG, Level2DAG
from ._dispatcher import Dispatcher from ._dispatcher import Dispatcher
from .._csst import csst from .._csst import csst
from ._dag_utils import generate_permutations from ..dag_utils import generate_permutations
CSST_DAGS = { CSST_DAGS = {
# MSC # MSC
......
...@@ -5,13 +5,13 @@ from typing import Callable, Optional ...@@ -5,13 +5,13 @@ from typing import Callable, Optional
import yaml import yaml
from astropy import table, time from astropy import table, time
from ._dag_utils import ( from ._dispatcher import Dispatcher
from ..dag_utils import (
force_string, force_string,
override_common_keys, override_common_keys,
generate_sha1_from_time, generate_sha1_from_time,
) )
from ..dfs import DFS from ..dfs import DFS
from ._dispatcher import Dispatcher
DAG_CONFIG_DIR = os.path.join( DAG_CONFIG_DIR = os.path.join(
os.path.dirname(os.path.dirname(__file__)), os.path.dirname(os.path.dirname(__file__)),
......
import os import os
from astropy import table
import socket import socket
from typing import Optional
from urllib.parse import urlparse from urllib.parse import urlparse
import csst_fs import csst_fs
import numpy as np
from astropy import table from astropy import table
from csst_dfs_client import plan, level0, level1, catalog from csst_dfs_client import plan, level0, level1, catalog
from ._csst import csst from ._csst import csst
from .dag._dag_utils import override_common_keys from .dag_utils import override_common_keys
# ----------------- # -----------------
# INPUT PARAMETERS # INPUT PARAMETERS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment