claf.decorator package

Submodules

class claf.decorator.arguments.arguments_required(required_fields)[source]

Bases: object

Decorator Class check required arguments for predict function (eg. @arguments_required([“db_path”, “table_id”]))

class claf.decorator.register.register(name)[source]

Bases: object

Decorator Class register subclass with decorator. (eg. @register(“model:bidaf”), @register(“reader:squad”) )

Module contents

class claf.decorator.arguments_required(required_fields)[source]

Bases: object

Decorator Class check required arguments for predict function (eg. @arguments_required([“db_path”, “table_id”]))

class claf.decorator.register(name)[source]

Bases: object

Decorator Class register subclass with decorator. (eg. @register(“model:bidaf”), @register(“reader:squad”) )