File tree Expand file tree Collapse file tree 3 files changed +21
-8
lines changed 
src/preset_cli/cli/superset/sync/dj Expand file tree Collapse file tree 3 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 55#    pip-compile --no-annotate dev-requirements.in
66#
77-e file:.
8+ about-time==4.2.1
89aiohttp==3.8.3
910aiosignal==1.2.0
11+ alive-progress==3.2.0
12+ anyio==4.9.0
1013appdirs==1.4.4
1114astroid==2.12.12
1215async-timeout==4.0.2
@@ -19,24 +22,31 @@ cfgv==3.3.1
1922charset-normalizer==2.0.12
2023click==8.1.2
2124codespell==2.1.0
22- commonmark==0.9.1
2325coverage[toml]==6.4.3
2426cython==0.29.32
27+ datajunction==0.0.1a102
2528dill==0.3.6
2629distlib==0.3.5
30+ execnet==2.1.1
2731filelock==3.8.0
2832freezegun==1.2.2
2933frozenlist==1.3.1
34+ grapheme==0.6.0
3035greenlet==1.1.3.post0
36+ h11==0.16.0
37+ httpcore==1.0.9
38+ httpx==0.28.1
3139identify==2.5.3
3240idna==3.3
3341iniconfig==1.1.1
3442isort==5.10.1
3543jinja2==3.1.2
3644lazy-object-proxy==1.8.0
45+ markdown-it-py==3.0.0
3746markupsafe==2.1.1
3847marshmallow==3.17.0
3948mccabe==0.7.0
49+ mdurl==0.1.2
4050multidict==6.0.2
4151nodeenv==1.7.0
4252numpy==1.23.1
@@ -51,28 +61,30 @@ prison==0.2.1
5161prompt-toolkit==3.0.30
5262py==1.11.0
5363pyfakefs==4.6.3
54- pygments==2.12.0 
64+ pygments==2.19.1 
5565pylint==2.15.5
5666pyparsing==3.0.9
5767pytest==7.1.2
5868pytest-cov==3.0.0
5969pytest-mock==3.8.2
70+ pytest-xdist==3.7.0
6071python-dateutil==2.8.2
6172python-graphql-client==0.4.3
6273pytz==2022.2
63- pyyaml==6.0
64- requests==2.27.1 
74+ pyyaml==6.0.2 
75+ requests==2.32.4 
6576requests-mock==1.9.3
66- rich==12.5.1 
77+ rich==14.0.0 
6778six==1.16.0
79+ sniffio==1.3.1
6880soupsieve==2.3.2.post1
6981sqlalchemy==1.4.40
7082sqlglot==26.23.0
7183tabulate==0.8.10
7284toml==0.10.2
7385tomli==2.0.1
7486tomlkit==0.11.6
75- typing-extensions==4.3 .0
87+ typing-extensions==4.14 .0
7688urllib3==1.26.9
7789virtualenv==20.16.3
7890wcwidth==0.2.5
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ testing =
100100    pre-commit
101101    pip-tools>=6.6.0
102102    pylint ==2.15.5
103+     datajunction;  python_version >= "3.9"
103104
104105[options.entry_points] 
105106#  Add here console scripts like:
Original file line number Diff line number Diff line change 33""" 
44
55import  json 
6- from  typing  import  Any 
6+ from  typing  import  Any ,  Optional 
77from  uuid  import  UUID 
88
99from  datajunction  import  DJClient 
@@ -19,7 +19,7 @@ def sync_cube(  # pylint: disable=too-many-arguments
1919    dj_client : DJClient ,
2020    superset_client : SupersetClient ,
2121    cube : str ,
22-     base_url : URL   |   None ,
22+     base_url : Optional [ URL ] ,
2323) ->  None :
2424    """ 
2525    Sync a DJ cube to a Superset virtual dataset. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments