PythonPackage class
Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
Constructors
-
PythonPackage({Input<
List< ? paths, Input<String> >String> ? repository}) -
Creates a new PythonPackage.
pathsPath globs used to match files in the build's workspace. For Python/ Twine, this is usuallydist/*, and sometimes additionally an.ascfile.repositoryArtifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.const -
PythonPackage.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
paths
→ Input<
List< ?String> > -
Path globs used to match files in the build's workspace. For Python/ Twine, this is usually
dist/*, and sometimes additionally an.ascfile.final -
repository
→ Input<
String> ? -
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited