Skip to content

Commit

Permalink
whitespace format
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Feb 17, 2024
1 parent 9551f2c commit 1f7972b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2022-11-09 15:53:11.451185
"""

from alembic import op
from sqlalchemy import (
Column,
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/tool_util/parameters/convert.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Utilities for converting between request states.
"""

from typing import (
Any,
Callable,
Expand Down
7 changes: 3 additions & 4 deletions lib/galaxy/tool_util/parameters/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ def validate_not_none(cls, v):

class ParamModel(Protocol):
@property
def name(self) -> str:
...
def name(self) -> str: ...

@property
def request_requires_value(self) -> bool:
Expand Down Expand Up @@ -535,7 +534,7 @@ def pydantic_template(self, state_representation: StateRepresentationT) -> Dynam
extra_kwd=extra_kwd,
extra_validators={},
)
when_types.append(Annotated[default_type, Tag('__absent__')])
when_types.append(Annotated[default_type, Tag("__absent__")])

def model_x_discriminator(v: Any) -> str:
if test_param_name not in v:
Expand All @@ -558,7 +557,7 @@ class ConditionalType(RootModel):
initialize_cond = None
else:
initialize_cond = ...

py_type = ConditionalType

return DynamicModelInformation(
Expand Down
4 changes: 3 additions & 1 deletion lib/galaxy/webapps/galaxy/services/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ class JobRequest(BaseModel):
history_id: Optional[DecodedDatabaseIdField] = Field(default=None, title="history_id", description="TODO")
inputs: Optional[Dict[str, Any]] = Field(default_factory=lambda: {}, title="Inputs", description="TODO")
use_cached_jobs: Optional[bool] = Field(default=None, title="use_cached_jobs")
rerun_remap_job_id: Optional[DecodedDatabaseIdField] = Field(default=None, title="rerun_remap_job_id", description="TODO")
rerun_remap_job_id: Optional[DecodedDatabaseIdField] = Field(
default=None, title="rerun_remap_job_id", description="TODO"
)
send_email_notification: bool = Field(default=False, title="Send Email Notification", description="TODO")


Expand Down
1 change: 1 addition & 0 deletions lib/galaxy_test/api/test_tool_execution.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""
"""

from typing import (
Any,
Dict,
Expand Down

0 comments on commit 1f7972b

Please sign in to comment.