<reponame>NagleZhang/influxalchemy
""" InfluxDB Measurement. """
import six
from . import meta


# pylint: disable=too-few-public-methods
class Measurement(six.with_metaclass(meta.MetaMeasurement)):
    """ InfluxDB Measurement. """
    # pylint: disable=no-init
    @classmethod
    def new(cls, name):
        """ Generate new Measurement class. """
        return type(name, (cls,), {"__measurement__": name})

""" InfluxDB Measurement. """
import six
from . import meta


# pylint: disable=too-few-public-methods
class Measurement(six.with_metaclass(meta.MetaMeasurement)):
    """ InfluxDB Measurement. """
    # pylint: disable=no-init
    @classmethod
    def new(cls, name):
        """ Generate new Measurement class. """
        return type(name, (cls,), {"__measurement__": name})
InfluxDB Measurement. # pylint: disable=too-few-public-methods InfluxDB Measurement. # pylint: disable=no-init Generate new Measurement class.