metarelate / metOcean-mapping

GNU Lesser General Public License v3.0
1 stars 6 forks source link

peculiar API features #34

Open pp-mo opened 11 years ago

pp-mo commented 11 years ago

I'm a bit suspicious that some of the API may be poorly structured -- at least, the usage of it smells rather odd. See https://github.com/SciTools/iris-code-generators/pull/1#issuecomment-21407406 ...

using fuseki.retrieve_mapping, we get 'mappings' back from the server that require processing through further methods of the server object. So when we create our Concepts and Mapping objects, these have to embed the server object in addition to the specific data passed back from the retrieve_mappings call.

I noticed another thing when trying to understand this, but it doesn't really relate to the iris-code-generators usage.