steamship.data.package package#

Submodules#

steamship.data.package.package module#

class steamship.data.package.package.Package(*, client: steamship.base.client.Client = None, id: str = None, handle: str = None)[source]#

Bases: pydantic.main.BaseModel

client: steamship.base.client.Client#
static create(client: steamship.base.client.Client, handle: Optional[str] = None) steamship.data.package.package.Package[source]#
static get(client: steamship.base.client.Client, handle: str) steamship.data.package.package.Package[source]#
handle: str#
id: str#
classmethod parse_obj(obj: Any) pydantic.main.BaseModel[source]#

steamship.data.package.package_instance module#

class steamship.data.package.package_instance.CreatePackageInstanceRequest(*, id: str = None, packageId: str = None, packageHandle: str = None, packageVersionId: str = None, packageVersionHandle: str = None, handle: str = None, fetchIfExists: bool = None, config: Dict[str, Any] = None, workspaceId: str = None)[source]#

Bases: steamship.base.request.Request

config: Dict[str, Any]#
fetch_if_exists: bool#
handle: str#
id: str#
package_handle: str#
package_id: str#
package_version_handle: str#
package_version_id: str#
workspace_id: str#
class steamship.data.package.package_instance.PackageInstance(*, client: steamship.base.client.Client = None, id: str = None, handle: str = None, packageId: str = None, packageHandle: str = None, userHandle: str = None, packageVersionId: str = None, userId: str = None, invocationURL: str = None, config: Dict[str, Any] = None, workspaceId: str = None, workspaceHandle: str = None)[source]#

Bases: steamship.base.model.CamelModel

client: steamship.base.client.Client#
config: Dict[str, Any]#
static create(client: steamship.base.client.Client, package_id: Optional[str] = None, package_handle: Optional[str] = None, package_version_id: Optional[str] = None, package_version_handle: Optional[str] = None, handle: Optional[str] = None, fetch_if_exists: Optional[bool] = None, config: Optional[Dict[str, Any]] = None) steamship.data.package.package_instance.PackageInstance[source]#
delete() steamship.data.package.package_instance.PackageInstance[source]#
full_url_for(path: str)[source]#
static get(client: steamship.base.client.Client, handle: str) steamship.data.package.package_instance.PackageInstance[source]#
handle: str#
id: str#
invocation_url: str#
invoke(path: str, verb: steamship.utils.url.Verb = Verb.POST, **kwargs)[source]#
load_missing_workspace_handle()[source]#
package_handle: str#
package_id: str#
package_version_id: str#
classmethod parse_obj(obj: Any) pydantic.main.BaseModel[source]#
user_handle: str#
user_id: str#
workspace_handle: str#
workspace_id: str#

steamship.data.package.package_version module#

class steamship.data.package.package_version.CreatePackageVersionRequest(*, packageId: str = None, handle: str = None, type: str = 'file', hostingHandler: str = None, configTemplate: str = None)[source]#

Bases: steamship.base.request.Request

config_template: str#
handle: str#
hosting_handler: str#
package_id: str#
type: str#
class steamship.data.package.package_version.PackageVersion(*, client: steamship.base.client.Client = None, id: str = None, packageId: str = None, handle: str = None, configTemplate: Dict[str, Any] = None)[source]#

Bases: steamship.base.model.CamelModel

client: steamship.base.client.Client#
config_template: Dict[str, Any]#
static create(client: steamship.base.client.Client, package_id: Optional[str] = None, handle: Optional[str] = None, filename: Optional[str] = None, filebytes: Optional[bytes] = None, config_template: Optional[Dict[str, Any]] = None, hosting_handler: Optional[str] = None) steamship.data.package.package_version.PackageVersion[source]#
handle: str#
id: str#
package_id: str#
classmethod parse_obj(obj: Any) pydantic.main.BaseModel[source]#

Module contents#

class steamship.data.package.Package(*, client: steamship.base.client.Client = None, id: str = None, handle: str = None)[source]#

Bases: pydantic.main.BaseModel

client: steamship.base.client.Client#
static create(client: steamship.base.client.Client, handle: Optional[str] = None) steamship.data.package.package.Package[source]#
static get(client: steamship.base.client.Client, handle: str) steamship.data.package.package.Package[source]#
handle: str#
id: str#
classmethod parse_obj(obj: Any) pydantic.main.BaseModel[source]#
class steamship.data.package.PackageInstance(*, client: steamship.base.client.Client = None, id: str = None, handle: str = None, packageId: str = None, packageHandle: str = None, userHandle: str = None, packageVersionId: str = None, userId: str = None, invocationURL: str = None, config: Dict[str, Any] = None, workspaceId: str = None, workspaceHandle: str = None)[source]#

Bases: steamship.base.model.CamelModel

client: steamship.base.client.Client#
config: Dict[str, Any]#
static create(client: steamship.base.client.Client, package_id: Optional[str] = None, package_handle: Optional[str] = None, package_version_id: Optional[str] = None, package_version_handle: Optional[str] = None, handle: Optional[str] = None, fetch_if_exists: Optional[bool] = None, config: Optional[Dict[str, Any]] = None) steamship.data.package.package_instance.PackageInstance[source]#
delete() steamship.data.package.package_instance.PackageInstance[source]#
full_url_for(path: str)[source]#
static get(client: steamship.base.client.Client, handle: str) steamship.data.package.package_instance.PackageInstance[source]#
handle: str#
id: str#
invocation_url: str#
invoke(path: str, verb: steamship.utils.url.Verb = Verb.POST, **kwargs)[source]#
load_missing_workspace_handle()[source]#
package_handle: str#
package_id: str#
package_version_id: str#
classmethod parse_obj(obj: Any) pydantic.main.BaseModel[source]#
user_handle: str#
user_id: str#
workspace_handle: str#
workspace_id: str#
class steamship.data.package.PackageVersion(*, client: steamship.base.client.Client = None, id: str = None, packageId: str = None, handle: str = None, configTemplate: Dict[str, Any] = None)[source]#

Bases: steamship.base.model.CamelModel

client: steamship.base.client.Client#
config_template: Dict[str, Any]#
static create(client: steamship.base.client.Client, package_id: Optional[str] = None, handle: Optional[str] = None, filename: Optional[str] = None, filebytes: Optional[bytes] = None, config_template: Optional[Dict[str, Any]] = None, hosting_handler: Optional[str] = None) steamship.data.package.package_version.PackageVersion[source]#
handle: str#
id: str#
package_id: str#
classmethod parse_obj(obj: Any) pydantic.main.BaseModel[source]#