result0.py 504 Bytes
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
4
5
6
7
8
import logging

log = logging.getLogger('csst')
class Result0Api(object):
    def __init__(self, sub_system = "ifs"):
        self.sub_system = sub_system
    
    def upload(self, **kwargs):
Xie Zhou's avatar
update    
Xie Zhou committed
9
10
11
12
13
14
15
16
17
18
19
        '''
        parameter kwargs:
        fits_id = [str] 
        file_path = [str] 
        chunk_size = [int]

        yield bytes of fits file
        '''
        pass
    
    def find(self, **kwargs):
Wei Shoulin's avatar
Wei Shoulin committed
20
        pass
Xie Zhou's avatar
update    
Xie Zhou committed
21
22
23
24
25
26

    def read(self, **kwargs):
        pass

    def wirte(self, **kwargs):
        pass