class C(TableModel): __tablename__ = "c" id = Integer32(pk=True) f = File(store_as=HybridFileStore('test_file_storage', 'json'))
class SomeClass3(TableModel): __tablename__ = "%s_%d" % (fn, 3) i = Integer32(pk=True) a = File(store_as=HybridFileStore("path", db_format='jsonb'))