Skip to content

Add support for title and description metadata#99

Open
LukeMarlin wants to merge 1 commit intofuhrysteve:masterfrom
LukeMarlin:more_metadata
Open

Add support for title and description metadata#99
LukeMarlin wants to merge 1 commit intofuhrysteve:masterfrom
LukeMarlin:more_metadata

Conversation

@LukeMarlin
Copy link
Contributor

  • Refactor _resolve_additional_properties to reuse parts of it for
    title and description support
  • Add _get_schema_metadata that retrieves the 3 currently supported
    metadata options on a schema
  • Rename 'cls' params to something less confusing as 'cls' is a python
    keyword
  • Add documentation for title, description and additional_properties
  • Move addtional_properties tests to a new forlder
    "schema_metadata_tests" so they can be gathered in a common place

Closes #41

  - Refactor _resolve_additional_properties to reuse parts of it for
  title and description support
  - Add _get_schema_metadata that retrieves the 3 currently supported
  metadata options on a schema
  - Rename 'cls' params to something less confusing as 'cls' is a python
  keyword
  - Add documentation for title, description and additional_properties
  - Move addtional_properties tests to a new forlder
  "schema_metadata_tests" so they can be gathered in a common place

Closes fuhrysteve#41
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.8%) to 98.273% when pulling 8f38e0f on LukeMarlin:more_metadata into 3c579c7 on fuhrysteve:master.

@LukeMarlin
Copy link
Contributor Author

I'm unsure what to do with the CI issues. I can apply black's suggestions, but I don't know why the build really failed. Also, I'm pretty sure that the coverage is incorrectly computed, as we can see in #98 , it decreased while only documentation was touched :(

Any pointers @fuhrysteve ?

@ksbrar
Copy link

ksbrar commented Mar 4, 2022

Bump - any update on this?

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.

Provide schema metadata in the "Meta" class

3 participants