Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Chen authored and Rachel Chen committed Sep 17, 2024
1 parent 3965130 commit e772458
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions snuba/cli/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ def jobs() -> None:
pass


def _parse_params(pairs: Tuple[str, ...]) -> MutableMapping[Any, Any]:
params = {}
for pair in pairs:
k, v = pair.split("=")
params[k] = v
return params


@jobs.command()
@click.option("--json_manifest", required=True)
@click.option("--job_id")
Expand All @@ -38,6 +30,14 @@ def run_from_manifest(*, json_manifest: str, job_id: str, dry_run: bool) -> None
job_to_run.execute()


def _parse_params(pairs: Tuple[str, ...]) -> MutableMapping[Any, Any]:
params = {}
for pair in pairs:
k, v = pair.split("=")
params[k] = v
return params


@jobs.command()
@click.option("--job_type")
@click.option("--job_id")
Expand Down
2 changes: 1 addition & 1 deletion snuba/manual_jobs/manifest_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ def read(filename: str) -> Mapping[str, JobSpec]:


def read_jobs_manifest() -> Mapping[str, JobSpec]:
return _ManifestReader.read("run_manifest.json")
return _ManifestReader.read("job_manifest.json")

0 comments on commit e772458

Please sign in to comment.