Skip to content

Clarify ODVariable.data_type cannot be None#666

Open
acolomb wants to merge 1 commit into
canopen-python:masterfrom
acolomb:disallow-datatype-none
Open

Clarify ODVariable.data_type cannot be None#666
acolomb wants to merge 1 commit into
canopen-python:masterfrom
acolomb:disallow-datatype-none

Conversation

@acolomb
Copy link
Copy Markdown
Member

@acolomb acolomb commented May 17, 2026

Use a simple integer zero as dummy value for "unset" in instances. This fixes some type checker errors. Add type hints for functions involving those values.

Use a simple integer zero as dummy value for "unset" in instances.
This fixes some type checker errors.  Add type hints for functions
involving those values.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 17, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
canopen/objectdictionary/__init__.py 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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