dazl.model
package¶
This module is deprecated. These types have generally moved to dazl.client
(for the API
introduced in dazl v5) or dazl.protocols
(for the API introduced in dazl v8).
This module has been relocated to dazl.client
, dazl.damlast
, dazl.protocols
, or
dazl.query
.
This module has been relocated to dazl.client.ledger
.
This module has been relocated to dazl.damlast.lookup
.
This module has been relocated to dazl.client._conn_settings
.
This module has been relocated to dazl.client.events
, though if possible you should move to
dazl.protocol.events
.
Type system types¶
The dazl.model.types
module contains the Python classes used to represent the DAML type
system.
DAML type |
Python type |
---|---|
|
|
|
|
|
|
|
|
- class dazl.model.types.Type¶
A DAML-defined type.
- class dazl.model.types.ScalarType(name: str)¶
A DAML-defined type that represents a simple scalar value. You should not need to ever construct instances of this directly; all scalar types are builtins.
- class dazl.model.types.ListType(type_parameter: dazl.model.types.Type)¶
- class dazl.model.types.RecordType(named_args: dazl.model.types.NamedArgumentList, name: Optional[dazl.model.types.TypeReference], type_args: Sequence[dazl.model.types.TypeVariable])¶
- class dazl.model.types.VariantType(named_args: dazl.model.types.NamedArgumentList, name: Optional[dazl.model.types.TypeReference], type_args: Sequence[dazl.model.types.TypeVariable])¶
- class dazl.model.types.UnsupportedType(name)¶
A DAML type that is currently unparseable by the Python client library.
This module has been relocated to dazl.client.commands
, though if possible you should move to
the command types defined in dazl.ledger
instead.