We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EpicsName
PandAName
PviName
Currently we define types for each of the above names:
PandABlocks-ioc/src/pandablocks_ioc/_types.py
Lines 20 to 51 in d949bd6
But when used at runtime we don't have restrictions, and everything is a str.
str
We should turn these types into pydantic BaseModel and validate each against a regex schema on initialisation.
BaseModel
The text was updated successfully, but these errors were encountered:
evalott100
No branches or pull requests
Currently we define types for each of the above names:
PandABlocks-ioc/src/pandablocks_ioc/_types.py
Lines 20 to 51 in d949bd6
But when used at runtime we don't have restrictions, and everything is a
str
.We should turn these types into pydantic
BaseModel
and validate each against a regex schema on initialisation.The text was updated successfully, but these errors were encountered: