def registry():
    """Returns the Noodles base serialisation registry."""
    return Registry(
        types={
            dict: SerDict(),
            tuple: SerSequence(tuple),
            set: SerSequence(set),
            bytes: SerBytes(),
            slice: SerSlice(),
            complex: SerByMembers(complex, ['real', 'imag']),
            Reasonable: SerReasonableObject(Reasonable),
            ArgumentKind: SerEnum(ArgumentKind),
            FunctionNode: SerNode(),
            ArgumentAddress: SerNamedTuple(ArgumentAddress),
            Workflow: SerWorkflow(),
            PromisedObject: SerPromisedObject(),
            Quote: SerReasonableObject(Quote),
            Path: SerPath(),
            Fail: SerReasonableObject(Fail)
        },
        hooks={
            '<method>': SerMethod(),
            '<boundmethod>': SerBoundMethod(),
            '<importable>': SerImportable(),
            '<automagic>': SerAuto(),
            '<unwrapped>': SerUnwrapped()
        },
        hook_fn=_noodles_hook,
        default=SerUnknown(),
    )
def registry ( ) : return Registry ( types = { dict : SerDict ( ) , tuple : SerSequence ( tuple ) , set : SerSequence ( set ) , bytes : SerBytes ( ) , slice : SerSlice ( ) , complex : SerByMembers ( complex , [ 'real' , 'imag' ] ) , Reasonable : SerReasonableObject ( Reasonable ) , ArgumentKind : SerEnum ( ArgumentKind ) , FunctionNode : SerNode ( ) , ArgumentAddress : SerNamedTuple ( ArgumentAddress ) , Workflow : SerWorkflow ( ) , PromisedObject : SerPromisedObject ( ) , Quote : SerReasonableObject ( Quote ) , Path : SerPath ( ) , Fail : SerReasonableObject ( Fail ) } , hooks = { '<method>' : SerMethod ( ) , '<boundmethod>' : SerBoundMethod ( ) , '<importable>' : SerImportable ( ) , '<automagic>' : SerAuto ( ) , '<unwrapped>' : SerUnwrapped ( ) } , hook_fn = _noodles_hook , default = SerUnknown ( ) , )
Returns the Noodles base serialisation registry.