You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What it doesn't do (yet) is change the API to pass that information [grid version information] down to the output modules. My idea in that respect is to pass the whole 'document' structure instead of its individual parts as separate parameters. So, the modules will be responsible for separating the document components themselves: document[0] will be the keywords, document[1] the default descriptions, document[2] the database version, and document[3] the grid versions. If something gets added to the database in future, it will go to document[4] and so on, hopefully maintaining backwards compatibility that way.
Also, to allow for possible future additions to the parameters, a variadic form of the output module arguments can be implemented. Each output module function header would then look like this:
def output(document, *args):
That will hopefully allow for any future extensions, keeping backwards compatibility.
The text was updated successfully, but these errors were encountered:
Imported from Google Code #6:
What it doesn't do (yet) is change the API to pass that information [grid version information] down to the output modules. My idea in that respect is to pass the whole 'document' structure instead of its individual parts as separate parameters. So, the modules will be responsible for separating the document components themselves: document[0] will be the keywords, document[1] the default descriptions, document[2] the database version, and document[3] the grid versions. If something gets added to the database in future, it will go to document[4] and so on, hopefully maintaining backwards compatibility that way.
Also, to allow for possible future additions to the parameters, a variadic form of the output module arguments can be implemented. Each output module function header would then look like this:
def output(document, *args):
That will hopefully allow for any future extensions, keeping backwards compatibility.
The text was updated successfully, but these errors were encountered: