-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hey, new to the project, been cleaning up the code and migrating the codebase to django 1.7 and other stuff like that on my own fork.
I'm wondering why some modules - AccessControlledInternalDataStore in particular - are coupled so tightly with Funf. For example, that class has a mapping field that directly relates to funf data:
self.mapping = {'ActivityProbe': 'activity_probe',
'SmsProbe': 'sms_probe',
'CallLogProbe': 'call_log_probe',
'BluetoothProbe': 'bluetooth_probe',
'WifiProbe': 'wifi_probe',
'LocationProbe': 'simple_location_probe',
'ScreenProbe': 'screen_probe',
'RunningApplicationsProbe': 'running_applications_probe',
'HardwareInfoProbe': 'hardware_info_probe',
'AppUsageProbe': 'app_usage_probe'}If it's just because the first projects to use this have funf-based, that's fine, but it seems to me that it's in the project's best interest to decouple it entirely and abstract the datastore objects from the kind of data being stored.
If it's part of some design decision I'm not privy to, could you explain it to me?
thanks!
Metadata
Metadata
Assignees
Labels
No labels