Dagger
Search

python-package

Closed Dagger contracts for auditable Python package candidates.

Installation

dagger install github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927

Entrypoint

Return Type
PythonPackage !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
func (m *MyModule) Example() *dagger.PythonPackage  {
	return dag.
			Pythonpackage()
}
@function
def example() -> dagger.PythonPackage:
	return (
		dag.python_package()
	)
@func()
example(): PythonPackage {
	return dag
		.pythonPackage()
}

Types

PythonPackageBuiltPythonPackage 🔗

A validated unprivileged build result.

directory() 🔗

Return Type
Directory !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string \
 directory
func (m *MyModule) Example(source *dagger.Directory, repository string, commitSha string, projectName string) *dagger.Directory  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName).
			Directory()
}
@function
def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> dagger.Directory:
	return (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
		.directory()
	)
@func()
example(source: Directory, repository: string, commitSha: string, projectName: string): Directory {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
		.directory()
}

project() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string \
 project
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, repository string, commitSha string, projectName string) string  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName).
			Project(ctx)
}
@function
async def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> str:
	return await (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
		.project()
	)
@func()
async example(source: Directory, repository: string, commitSha: string, projectName: string): Promise<string> {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
		.project()
}

version() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string \
 version
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, repository string, commitSha string, projectName string) string  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName).
			Version(ctx)
}
@function
async def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> str:
	return await (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
		.version()
	)
@func()
async example(source: Directory, repository: string, commitSha: string, projectName: string): Promise<string> {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
		.version()
}

wheelFilename() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string \
 wheel-filename
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, repository string, commitSha string, projectName string) string  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName).
			Wheelfilename(ctx)
}
@function
async def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> str:
	return await (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
		.wheelfilename()
	)
@func()
async example(source: Directory, repository: string, commitSha: string, projectName: string): Promise<string> {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
		.wheelFilename()
}

wheelSha256() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string \
 wheel-sha-2-5-6
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, repository string, commitSha string, projectName string) string  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName).
			Wheelsha256(ctx)
}
@function
async def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> str:
	return await (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
		.wheelsha256()
	)
@func()
async example(source: Directory, repository: string, commitSha: string, projectName: string): Promise<string> {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
		.wheelSha256()
}

sdistFilename() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string \
 sdist-filename
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, repository string, commitSha string, projectName string) string  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName).
			Sdistfilename(ctx)
}
@function
async def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> str:
	return await (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
		.sdistfilename()
	)
@func()
async example(source: Directory, repository: string, commitSha: string, projectName: string): Promise<string> {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
		.sdistFilename()
}

sdistSha256() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string \
 sdist-sha-2-5-6
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, repository string, commitSha string, projectName string) string  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName).
			Sdistsha256(ctx)
}
@function
async def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> str:
	return await (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
		.sdistsha256()
	)
@func()
async example(source: Directory, repository: string, commitSha: string, projectName: string): Promise<string> {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
		.sdistSha256()
}

PythonPackageCandidate 🔗

A Foundation envelope safe for a separate source-free publisher job.

envelope() 🔗

Return Type
Directory !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 envelope
func (m *MyModule) Example(envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) *dagger.Directory  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Envelope()
}
@function
def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> dagger.Directory:
	return (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.envelope()
	)
@func()
example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Directory {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.envelope()
}

repository() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 repository
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Repository(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.repository()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.repository()
}

commitSha() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 commit-sha
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Commitsha(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.commitsha()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.commitSha()
}

tag() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 tag
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Tag(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.tag()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.tag()
}

project() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 project
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Project(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.project()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.project()
}

version() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 version
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Version(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.version()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.version()
}

workflowRunId() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 workflow-run-id
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Workflowrunid(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.workflowrunid()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.workflowRunId()
}

runAttempt() 🔗

Return Type
Integer !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 run-attempt
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) int  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Runattempt(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> int:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.runattempt()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<number> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.runAttempt()
}

manifestSha256() 🔗

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 manifest-sha-2-5-6
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Manifestsha256(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.manifestsha256()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.manifestSha256()
}

serialization() 🔗

Return the only non-secret candidate handoff metadata needed by a publisher.

Return Type
String !
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer \
 serialization
func (m *MyModule) Example(ctx context.Context, envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) string  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt).
			Serialization(ctx)
}
@function
async def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> str:
	return await (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
		.serialization()
	)
@func()
async example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): Promise<string> {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
		.serialization()
}

PythonPackage 🔗

Build and verify packages without registry or publication authority.

build() 🔗

Build exactly one pure wheel and one source distribution.

Return Type
PythonPackageBuiltPythonPackage !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

A directory.

repositoryString !-No description provided
commitShaString !-No description provided
projectNameString !-No description provided
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 build --source DIR_PATH --repository string --commit-sha string --project-name string
func (m *MyModule) Example(source *dagger.Directory, repository string, commitSha string, projectName string) *dagger.PythonPackageBuiltPythonPackage  {
	return dag.
			Pythonpackage().
			Build(source, repository, commitSha, projectName)
}
@function
def example(source: dagger.Directory, repository: str, commitsha: str, projectname: str) -> dagger.PythonPackageBuiltPythonPackage:
	return (
		dag.python_package()
		.build(source, repository, commitsha, projectname)
	)
@func()
example(source: Directory, repository: string, commitSha: string, projectName: string): PythonPackageBuiltPythonPackage {
	return dag
		.pythonPackage()
		.build(source, repository, commitSha, projectName)
}

candidate() 🔗

Create a retry-bound Foundation envelope after exact-green checks.

Return Type
PythonPackageCandidate !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

A directory.

githubTokenSecret !-

A reference to a secret value, which can be handled more safely than the value itself.

repositoryString !-No description provided
commitShaString !-No description provided
projectNameString !-No description provided
centralModuleShaString !-No description provided
workflowRunIdString !-No description provided
runAttemptInteger !-No description provided
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 candidate --source DIR_PATH --github-token env:MYSECRET --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer
func (m *MyModule) Example(source *dagger.Directory, githubToken *dagger.Secret, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) *dagger.PythonPackageCandidate  {
	return dag.
			Pythonpackage().
			Candidate(source, githubToken, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
}
@function
def example(source: dagger.Directory, githubtoken: dagger.Secret, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> dagger.PythonPackageCandidate:
	return (
		dag.python_package()
		.candidate(source, githubtoken, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
	)
@func()
example(source: Directory, githubToken: Secret, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): PythonPackageCandidate {
	return dag
		.pythonPackage()
		.candidate(source, githubToken, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
}

dependencyAudit() 🔗

Audit the locked dependency graph in a bound source tree.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

A directory.

repositoryString !-No description provided
commitShaString !-No description provided
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 dependency-audit --source DIR_PATH --repository string --commit-sha string
func (m *MyModule) Example(source *dagger.Directory, repository string, commitSha string) *dagger.Container  {
	return dag.
			Pythonpackage().
			Dependencyaudit(source, repository, commitSha)
}
@function
def example(source: dagger.Directory, repository: str, commitsha: str) -> dagger.Container:
	return (
		dag.python_package()
		.dependencyaudit(source, repository, commitsha)
	)
@func()
example(source: Directory, repository: string, commitSha: string): Container {
	return dag
		.pythonPackage()
		.dependencyAudit(source, repository, commitSha)
}

verifyCandidate() 🔗

Revalidate a candidate without source, credentials, or provider access.

Return Type
PythonPackageCandidate !
Arguments
NameTypeDefault ValueDescription
envelopeDirectory !-

A directory.

repositoryString !-No description provided
commitShaString !-No description provided
projectNameString !-No description provided
centralModuleShaString !-No description provided
workflowRunIdString !-No description provided
runAttemptInteger !-No description provided
Example
dagger -m github.com/hseshadr/ci/modules/python-package@95c72573fc11ea6732abb7f7fe8b59c7d245d927 call \
 verify-candidate --envelope DIR_PATH --repository string --commit-sha string --project-name string --central-module-sha string --workflow-run-id string --run-attempt integer
func (m *MyModule) Example(envelope *dagger.Directory, repository string, commitSha string, projectName string, centralModuleSha string, workflowRunId string, runAttempt int) *dagger.PythonPackageCandidate  {
	return dag.
			Pythonpackage().
			Verifycandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
}
@function
def example(envelope: dagger.Directory, repository: str, commitsha: str, projectname: str, centralmodulesha: str, workflowrunid: str, runattempt: int) -> dagger.PythonPackageCandidate:
	return (
		dag.python_package()
		.verifycandidate(envelope, repository, commitsha, projectname, centralmodulesha, workflowrunid, runattempt)
	)
@func()
example(envelope: Directory, repository: string, commitSha: string, projectName: string, centralModuleSha: string, workflowRunId: string, runAttempt: number): PythonPackageCandidate {
	return dag
		.pythonPackage()
		.verifyCandidate(envelope, repository, commitSha, projectName, centralModuleSha, workflowRunId, runAttempt)
}