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 348B

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