Skip to content

Commit

Permalink
use union for typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed May 29, 2024
1 parent 0186535 commit 6275553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipelines/create/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def init_context(value: Dict[str, Any]) -> Iterator[None]:


# Define a global variable to store the pipeline type
PIPELINE_TYPE_GLOBAL: str | None = None
PIPELINE_TYPE_GLOBAL: Union[str, None] = None


class CreateConfig(BaseModel):
Expand Down

0 comments on commit 6275553

Please sign in to comment.