Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
csst-dag
Commits
d27a7df3
Commit
d27a7df3
authored
Sep 23, 2025
by
BO ZHANG
🏀
Browse files
solve circular imports
parent
4cadbd0c
Changes
4
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/__init__.py
View file @
d27a7df3
from
._base_dag
import
BaseDAG
,
Level1DAG
,
Level2DAG
from
._dispatcher
import
Dispatcher
from
.._csst
import
csst
from
.
_
dag_utils
import
generate_permutations
from
.
.
dag_utils
import
generate_permutations
CSST_DAGS
=
{
# MSC
...
...
csst_dag/dag/_base_dag.py
View file @
d27a7df3
...
...
@@ -5,13 +5,13 @@ from typing import Callable, Optional
import
yaml
from
astropy
import
table
,
time
from
._dag_utils
import
(
from
._dispatcher
import
Dispatcher
from
..dag_utils
import
(
force_string
,
override_common_keys
,
generate_sha1_from_time
,
)
from
..dfs
import
DFS
from
._dispatcher
import
Dispatcher
DAG_CONFIG_DIR
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
__file__
)),
...
...
csst_dag/dag
/_dag
_utils.py
→
csst_dag/dag_utils.py
View file @
d27a7df3
File moved
csst_dag/dfs.py
View file @
d27a7df3
import
os
from
astropy
import
table
import
socket
from
typing
import
Optional
from
urllib.parse
import
urlparse
import
csst_fs
import
numpy
as
np
from
astropy
import
table
from
csst_dfs_client
import
plan
,
level0
,
level1
,
catalog
from
._csst
import
csst
from
.dag._dag_utils
import
override_common_keys
from
.dag_utils
import
override_common_keys
# -----------------
# INPUT PARAMETERS
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment