Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SireInsectus committed Nov 27, 2023
1 parent 50dfc2b commit 0b40f58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dbacademy/clients/dbrest/jobs_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ def create_from_config(self, config: JobConfig) -> str:
def create_from_dict(self, params: Dict[str, Any]) -> str:
params = validate(params=params).required.dict(str)

import json
print("="*80)
print(json.dumps(params, indent=4))
print("="*80)

response = self.__client.api("POST", f"{self.base_uri}/create", params)
return response.get("job_id")

Expand Down

0 comments on commit 0b40f58

Please sign in to comment.