asdf_pydantic.examples.shapes
=============================

.. py:module:: asdf_pydantic.examples.shapes


Classes
-------

.. autoapisummary::

   asdf_pydantic.examples.shapes.AsdfRectangle


Module Contents
---------------

.. py:class:: AsdfRectangle

   Bases: :py:obj:`asdf_pydantic.AsdfPydanticModel`


   ASDF Serialization and Deserialization:
       Serialize to ASDF yaml tree is done with the
       py:classmethod`AsdfPydanticModel.asdf_yaml_tree()` and deserialize to an
       AsdfPydanticModel object with py:meth`AsdfPydanticModel.parse_obj()`.


   .. py:attribute:: _tag
      :value: 'asdf://asdf-pydantic/examples/tags/rectangle-1.0.0'



   .. py:attribute:: width
      :type:  float


   .. py:attribute:: height
      :type:  float


