ittapi-sys 0.5.0

Rust bindings for ittapi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""
domain.py - Python module wrapper for ITT Domain API
"""
from ittapi.native import Domain as _Domain


def domain(name=None):
    """
    Creates a domain with the given name.
    :param name: a name of the domain
    :return: a handle to the created domain with given name if the `name` is not None,
     otherwise, returns handle to default domain.
    """
    return _Domain(name)