Sindbad~EG File Manager

Current Path : /proc/self/root/usr/lib/python3.6/site-packages/tuned/storage/
Upload File :
Current File : //proc/self/root/usr/lib/python3.6/site-packages/tuned/storage/factory.py

from . import interfaces
from . import storage

class Factory(interfaces.Factory):
	__slots__ = ["_storage_provider"]

	def __init__(self, storage_provider):
		self._storage_provider = storage_provider

	@property
	def provider(self):
		return self._storage_provider

	def create(self, namespace):
		return storage.Storage(self._storage_provider, namespace)

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists