pyrolab.pyrolabd.InstanceInfo

Contents

pyrolab.pyrolabd.InstanceInfo#

class InstanceInfo(*, pid: int, uri: str)[source]#

Bases: BaseModel

Model for storing information about a running instance.

Methods

construct([_fields_set])

Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.

copy(*[, include, exclude, update, deep])

Duplicate a model, optionally choose which fields to include, exclude and change.

dict(*[, include, exclude, by_alias, ...])

Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

json(*[, include, exclude, by_alias, ...])

Generate a JSON representation of the model, include and exclude arguments as per dict().

update_forward_refs(**localns)

Try to update ForwardRefs on fields based on this Model, globalns and localns.

Config

from_orm

parse_file

parse_obj

parse_raw

schema

schema_json

validate