Skip to content

Commit

Permalink
fix: remove type field from schema if ref exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Nov 17, 2024
1 parent a450ff1 commit eb4f83b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/examples/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import annotations

import textwrap
from typing import Annotated
from unittest.mock import MagicMock, patch

import asdf
Expand All @@ -14,6 +15,8 @@

from asdf_pydantic import AsdfPydanticConverter, AsdfPydanticModel

SelfAnnotatedAsdfNode = Annotated[AsdfTag]


class AsdfNode(AsdfPydanticModel):
"""Model for a node in a graph/tree.
Expand Down

0 comments on commit eb4f83b

Please sign in to comment.