gw.domains.build_domain.build_domain
gw.domains.build_domain.build_domain(settings)Instantiate a domain class from settings.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| settings | dict | Dictionary with ‘type’ key denoting the type of domain, and keys corresponding to the kwargs needed to construct the Domain. | required |
Returns
| Name | Type | Description |
|---|---|---|
| A Domain instance of the correct type. |