Trello | Re: https://github.com/openforcefield/openff-units/pull/77 - Goal is to have quantity inherit from pydantic instead of pint. Some possible implications about niche things like isinstance checks. Big change is that openff-models may become obsolete (was only meant as compatibility layer between pint and pydantic, but the new quantity class appears to be much more compatible). So deployment plan would be that quantity class is backwards compatible with its own API and with openff-models. So moving forward, if you want to make models that are constructed of quantities, you might not need the models package at all. MT – Also, I’m working with JM on improving type annotations+docstrings in OFFTK docstrings. So if there’s both a type annotation implicit in the function definition/arguments, and ALSO a type listed in the docstring, we remove the latter. JW – Sounds great, I agree with this change. MT – The diff is becoming big, I’d love a set of eyes to make sure that this doesn’t unintentionally affect behavior, since it should only affect docs. JW – Sounds good, I’m happy to review for unintentional API/behavior changes. MT – Will aim to do this in early Jan, expecting several smaller PRs. JW – Sounds good, JM and I can both review.
|