Skip to content

Feat/model component type color#138

Draft
MaxNumerique wants to merge 3 commits intonextfrom
feat/model-component-type-color
Draft

Feat/model component type color#138
MaxNumerique wants to merge 3 commits intonextfrom
feat/model-component-type-color

Conversation

@MaxNumerique
Copy link
Copy Markdown
Contributor

No description provided.

block_ds = pipeline.blockDataSets[block_id]
if params.color_mode == schemas.ColorMode.RANDOM:
geode_id = pipeline.blockGeodeIds[block_id]
r, g, b = deterministic_color(geode_id)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [mypy] reported by reviewdog 🐶
Argument 1 to "deterministic_color" has incompatible type "str | None"; expected "str" [arg-type]

block_ds = pipeline.blockDataSets[block_id]
if params.color_mode == schemas.ColorMode.RANDOM:
geode_id = pipeline.blockGeodeIds[block_id]
r, g, b = deterministic_color(geode_id)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [mypy] reported by reviewdog 🐶
Argument 1 to "deterministic_color" has incompatible type "str | None"; expected "str" [arg-type]

block_ds = pipeline.blockDataSets[block_id]
if params.color_mode == schemas.ColorMode.RANDOM:
geode_id = pipeline.blockGeodeIds[block_id]
r, g, b = deterministic_color(geode_id)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [mypy] reported by reviewdog 🐶
Argument 1 to "deterministic_color" has incompatible type "str | None"; expected "str" [arg-type]

block_ds = pipeline.blockDataSets[block_id]
if params.color_mode == schemas.ColorMode.RANDOM:
geode_id = pipeline.blockGeodeIds[block_id]
r, g, b = deterministic_color(geode_id)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [mypy] reported by reviewdog 🐶
Argument 1 to "deterministic_color" has incompatible type "str | None"; expected "str" [arg-type]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant