Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Aug 21, 2024
1 parent f9d6f73 commit cc80d09
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ def from_extensions(
conf = supported_extensions.get(ext.__class__.__name__, None)
if not conf:
warnings.warn(
f"Conformance class for `{ext.__class__.__name__}` extension not found.",
f"Conformance class for `{ext.__class__.__name__}` extension not found.", # noqa: E501
UserWarning,
)
else:
conformance_classes.append(supported_extension[ext.__class__.__name__])
conformance_classes.append(conf)

get_request_model = create_request_model(
model_name="CollectionsGetRequest",
Expand Down Expand Up @@ -203,11 +203,11 @@ def from_extensions(
conf = supported_extensions.get(ext.__class__.__name__, None)
if not conf:
warnings.warn(
f"Conformance class for `{ext.__class__.__name__}` extension not found.",
f"Conformance class for `{ext.__class__.__name__}` extension not found.", # noqa: E501
UserWarning,
)
else:
conformance_classes.append(supported_extension[ext.__class__.__name__])
conformance_classes.append(conf)

get_request_model = create_request_model(
model_name="CollectionsGetRequest",
Expand Down

0 comments on commit cc80d09

Please sign in to comment.