Skip to content

Commit

Permalink
Merge pull request #68 from yaal-coop/issue-61-unit-tests-warning
Browse files Browse the repository at this point in the history
explicitly define ComplexAttribute._schema
  • Loading branch information
azmeuk authored Aug 18, 2024
2 parents 5dde804 + 1cb8462 commit aeacc71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scim2_models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,8 @@ class ComplexAttribute(BaseModel):
"""A complex attribute as defined in :rfc:`RFC7643 §2.3.8
<7643#section-2.3.8>`."""

_schema: Optional[str] = None

def get_attribute_urn(self, field_name: str) -> str:
"""Build the full URN of the attribute.
Expand Down

0 comments on commit aeacc71

Please sign in to comment.