No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

file.py 338B

1234567891011121314
  1. # -*- coding: utf-8 -*-
  2. from ..data_field import DataField
  3. class DataHandler(DataField):
  4. base_type = 'file'
  5. ## @brief a file field
  6. # @param upload_path str : None by default
  7. # @param **kwargs
  8. def __init__(self, upload_path=None, **kwargs):
  9. self.upload_path = upload_path
  10. super().__init__(**kwargs)