Example #1
0
 def test_pipe():
     create_databricks_job_solid(num_inputs=0).configured(
         {
             "job": databricks_run_config,
             "poll_interval_sec": 0.01
         },
         name="test")()
Example #2
0
def test_create_databricks_job_solid_args():
    assert create_databricks_job_solid().name == "databricks_job"
    assert create_databricks_job_solid("my_name").name == "my_name"
    assert len(create_databricks_job_solid().input_defs) == 1
    assert len(create_databricks_job_solid(num_inputs=2).input_defs) == 2
    assert len(create_databricks_job_solid().output_defs) == 1