Module Import alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpMult Call AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A random base Factory DependentField RandomNumber N/A Factory N/A N/A 
    A base factory for generating a number between `minimum` and `maximum`.
     __init__ N/A N/A self minimum maximum N/A 0 0 N/A N/A N/A N/A N/A super RandomNumber self __init__ N/A N/A self _minimum minimum N/A N/A self _maximum maximum N/A N/A RandomInteger N/A RandomNumber N/A N/A 
    Returns an Integer between `minimum` and `maximum`
     __call__ N/A N/A self N/A N/A N/A N/A N/A random randint N/A self _minimum N/A self _maximum N/A N/A RandomFloat N/A RandomNumber N/A N/A 
    Returns a Float between `minimum` and `maximum`
     __call__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A random random N/A N/A self _maximum N/A self _minimum N/A self _minimum N/A N/A RelativeNumber N/A DependentField N/A N/A 
    Returns a number relative to another number field.

    Example:
    >>> import testdata
    >>> class Foo(testdata.DictFactory):
    ...     a = testdata.CountingFactory(1)
    ...     b = RelativeNumber('a', 1)
    >>> [i for i in Foo().generate(3)]
    [{'a': 1, 'b': 2}, {'a': 2, 'b': 3}, {'a': 3, 'b': 4}]
     __init__ N/A N/A self other_number_field delta N/A N/A N/A N/A N/A N/A super RelativeNumber self __init__ N/A other_number_field N/A N/A self _other_number_field other_number_field N/A N/A self _delta delta N/A __call__ N/A N/A self N/A N/A N/A N/A N/A N/A super RelativeNumber self __call__ N/A N/A N/A N/A self depending_fields N/A N/A self _other_number_field N/A self _delta N/A N/A