diff --git a/packages/smithy-core/src/smithy_core/schemas.py b/packages/smithy-core/src/smithy_core/schemas.py index 1b59c733d..f2753caa0 100644 --- a/packages/smithy-core/src/smithy_core/schemas.py +++ b/packages/smithy-core/src/smithy_core/schemas.py @@ -130,7 +130,7 @@ def get_trait[T: "Trait"](self, t: type[T]) -> T | None: ... def get_trait(self, t: ShapeID) -> "Trait | DynamicTrait | None": ... def get_trait(self, t: "type[Trait] | ShapeID") -> "Trait | DynamicTrait | None": - """Get a trait based on it's ShapeID or class. + """Get a trait based on its ShapeID or class. :returns: A Trait if the trait class is known, a DynamicTrait if it isn't, or None if the trait is not present on the Schema. @@ -155,7 +155,7 @@ def expect_trait[T: "Trait"](self, t: type[T]) -> T: ... def expect_trait(self, t: ShapeID) -> "Trait | DynamicTrait": ... def expect_trait(self, t: "type[Trait] | ShapeID") -> "Trait | DynamicTrait": - """Get a trait based on it's ShapeID or class. + """Get a trait based on its ShapeID or class. :returns: A Trait if the trait class is known, a DynamicTrait if it isn't. """