Skip to content

Packages Component

Syncs Python packages from a source instance to destination.

sync_package

Syncs a single Python package object based on the Swimlane exported dictionary

Args: package (Package): A Swimlane Python package model definition.

def sync_package(self, package: aqueduct.models.package.Package)

sync

Sync will sync all installed Python packages on a source system with a destination system. If you specified the offline switch as True then it will transfer the packages directly and install them manually instead of relying on Swimlane to install them from pypi.

def sync(self)

Package Model

Package

__attrs_init__(self, author, authorEmail, disabled, homePage, id, license, name, pythonVersion, requires, summary, version, fileId=None) special

Method generated by attrs for class Package.

Source code in aqueduct/models/package.py
def __attrs_init__(self, author, authorEmail, disabled, homePage, id, license, name, pythonVersion, requires, summary, version, fileId=attr_dict['fileId'].default):
    self.author = author
    self.authorEmail = authorEmail
    self.disabled = disabled
    self.homePage = homePage
    self.id = id
    self.license = license
    self.name = name
    self.pythonVersion = pythonVersion
    self.requires = requires
    self.summary = summary
    self.version = version
    self.fileId = fileId