Skip to content

Commit

Permalink
Annotate arg in gen_linkml.translate_defs()
Browse files Browse the repository at this point in the history
  • Loading branch information
candleindark committed Aug 12, 2024
1 parent eae46d6 commit 923bb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pydantic2linkml/gen_linkml.py
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ def _computed_field_schema(self, schema: core_schema.ComputedField) -> None:
)


def translate_defs(module_names) -> SchemaDefinition:
def translate_defs(module_names: Iterable[str]) -> SchemaDefinition:
"""
Translate Python objects, in the named modules and their submodules loaded to
`sys.modules`, to LinkML
Expand Down

0 comments on commit 923bb22

Please sign in to comment.