Skip to content

Commit

Permalink
Python client and Fusion SQL for Jobs Service (#28)
Browse files Browse the repository at this point in the history
* Add Jobs client skeleton

* Address MR comments

* Fix issues with pre commit checks

* Fix issues with pre commit

* local backend test

* fix url

* remove https

* revert URL

* url

* fix datetime

* fix wrong param type

* fix exec mode

* optional exec time

* print

* fix types

* to strings

* fix typo

* more to strings

* print db name

* print db name

* check db name

* implement wait

* timeout on wait

* remove projectID

* Fix optionals

* test times

* test

* remove prints

* add time

* wait on job

* add param

* add param

* test get

* fix target

* fix cluster

* fix to_datetime

* test terminated

* get and delete job

* fix delete

* move resumeTarget

* fix target config

* fix

* fix from dict

* fix shared

* add mode and move runtime to execConfig

* implement schedule

* make modes public

* test mode

* fix resume target

* fix mode type

* fix env var

* fix mode in wait

* test virtual

* Add jobs test

* fix pre commit

* fix type

* pre-commit checks

* fix pre commit

* test db

* fix tests

* fix mode

* Compare to []

* test management

* test jobs

* revert test jobs

* fix env vars for test

* fix tests and add comments

* fusion for jobs

* test without runtime

* fusion sql for run

* Register run job handler

* test fusion locally

* make runtime name optional

* wait fusion sql

* Add notebook to run command

* implement schedule command

* test schedule params

* test booleans

* print

* remove print

* add timeout to wait

* fix timeout

* fix timeout in fusion

* return res

* remove print

* print interval

* fix interval

* remove print

* implement fusion get jobs

* fix result

* set vars to None

* test get

* fix datetime

* add extended and like to get

* fix typo

* fix field order

* fix paths

* fix example for show

* Add execution objects

* implement get executions in python sdk

* remove base url

* impement to string for execs

* fusion for execs

* fix path

* Add extended to execs

* fix indentation

* test parameters

* fix tuples

* test fusion params

* change param syntax

* fix list index

* test params

* fix json format

* add params to run

* drop job fusion and draft tests

* remove local api

* fix arguments and change list to obj

increase interval

fix pipeline

fix manager

implement show tests

fix test

fix assert

fix completed execution

fix execs assert

fix list of ids

address some MR comments

cast params to str

change sleep time

implement execute every with time unit tokens

test time_unit

fix comments

test interval

change match to ifs

revert np changes

Add return to wait job

test json parameters

fix json

list runtimes python

to string runtimes

runtimes in fusion

add parameters implementation

point fusion to localdev

address some MR comments

change param type to map

add several id to drop

fix drop

fix drop results

fix results

pre-commit

fix list and tuple in pre-commit

remove localdev setup

fix drop in tests

fix tests

* debug params

* debug received params

* change type of params

* change to key value

* change to key

* fix fusion params

* test with runtime and params

* pre commit

* address MR comments

* fix non existent timeout and exec interval
  • Loading branch information
evieira2 authored Jul 29, 2024
1 parent 2884655 commit 27c3a42
Show file tree
Hide file tree
Showing 6 changed files with 2,011 additions and 2 deletions.
Loading

0 comments on commit 27c3a42

Please sign in to comment.