We add the flake8 configuration used so we ensure everyone uses the same. We remove the usage of __all__ for non public API. When possible, we rationalize the class name according to its __name__ and module. issue9082 review297061002
31 lines
1.2 KiB
Python
31 lines
1.2 KiB
Python
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
# this repository contains the full copyright notices and license terms.
|
|
|
|
from .field import (
|
|
depends, with_inactive_records, SQL_OPERATORS, on_change_result,
|
|
get_eval_fields, states_validate, domain_validate, context_validate, Field)
|
|
from .boolean import Boolean
|
|
from .integer import Integer, BigInteger
|
|
from .char import Char
|
|
from .text import Text
|
|
from .float import Float
|
|
from .numeric import Numeric
|
|
from .date import Date, Timestamp, DateTime, Time, TimeDelta
|
|
from .binary import Binary
|
|
from .selection import Selection
|
|
from .reference import Reference
|
|
from .many2one import Many2One
|
|
from .one2many import One2Many
|
|
from .many2many import Many2Many
|
|
from .function import Function, MultiValue
|
|
from .one2one import One2One
|
|
from .dict import Dict
|
|
from .multiselection import MultiSelection
|
|
|
|
__all__ = [
|
|
depends, with_inactive_records, SQL_OPERATORS, on_change_result,
|
|
get_eval_fields, states_validate, domain_validate, context_validate, Field,
|
|
Boolean, Integer, BigInteger, Char, Text, Float, Numeric, Date, Timestamp,
|
|
DateTime, Time, TimeDelta, Binary, Selection, Reference, Many2One,
|
|
One2Many, Many2Many, Function, MultiValue, One2One, Dict, MultiSelection]
|