Skip to content

Commit

Permalink
Make field async. Thanks MyPy! Good catch
Browse files Browse the repository at this point in the history
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano committed Feb 15, 2022
1 parent 5508cbe commit c3dfc0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/pants/jvm/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from pants.engine.addresses import Address
from pants.engine.target import (
COMMON_TARGET_FIELDS,
AsyncFieldMixin,
Dependencies,
FieldSet,
InvalidFieldException,
Expand All @@ -30,7 +31,7 @@
# -----------------------------------------------------------------------------------------------


class JvmResolveField(StringField):
class JvmResolveField(StringField, AsyncFieldMixin):
alias = "resolve"
required = False
help = (
Expand Down

0 comments on commit c3dfc0d

Please sign in to comment.