mglib/mglib/storage.py

31 lines
506 B
Python
Raw Normal View History

import os
2020-05-04 12:35:08 +02:00
class Storage:
"""
Storage class which works with Endpointsf
"""
def __init__(self, location=None):
self._location = location
@property
def location(self):
return self._location
def path_doc(self, ep):
return os.path.join(
self.location,
ep.path_doc
)
def path_result(self, ep):
return os.path.join(
self.location, ep.path_result
)
2020-05-04 12:35:08 +02:00
def delete(self, ep):
pass