|
|
|
|
|
by 0xbadcafebee
935 days ago
|
|
> the physical location of the hard drive matters Not exactly: what matters is the legal designation of the data storage device. The location of that device is one of many factors that "matter", but not to the application, or developer, or user. They only "matter" to the law. We aren't going to start writing UnitedStatesFileWrite() functions, now, are we? Instead of considering the physical location of a hard drive, what we should be doing is querying a data storage object which has the properties we want: io_construct = DataStorage()
storage_search = io_construct.DataStorageSearch({
"contains": [
{ "legal": {
"jurisdiction": {
"location": [ {
"country": "US",
"state": "California"
} ]
}
}
},
{ "record": [ { "email": "foo@bar.domain" } ]
}
]
})
with io_object as io_construct.AttachDataStorage(device = storage_search):
io_object.read()
We should never have to think about what building a hard drive is located in, much less the complexities of dealing with specific data laws. The IO construct should deal with that. |
|