Skip to content

Commit

Permalink
set qualname on GenerateWrapSourceSourcesRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
lilatomic committed Apr 8, 2024
1 parent 59e6c48 commit cb9eca5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/python/pants/core/util_rules/wrap_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ class GenerateWrapSourceSourcesRequest(GenerateSourcesRequest):
input = ActivateWrapSourceTargetField
output = source_field_type

setattr(
GenerateWrapSourceSourcesRequest,
"__qualname__",
f"{source_field_type.__qualname__}.{GenerateWrapSourceSourcesRequest.__name__}",
)

class WrapSourceTarget(Target):
alias = f"experimental_wrap_as_{target_name_suffix}"
core_fields = (
Expand Down

0 comments on commit cb9eca5

Please sign in to comment.