I making next-version of apmodel, that uses pydantic for better validation and better loader.

Currently, this feature is either not implemented or not fully implemented:

  • export to json is not avaliable

Additionally, some models have not been migrated to pydantic, so they cannot be used properly.

If you interested this, can read this branch: https://github.com/fedi-libs/apmodel/tree/pydantic

1

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/019a4df0-2b88-752b-8427-06f2c7734042 on your instance and quote it. (Note that quoting is not supported in Mastodon.)