Tyler Doyle
Tyler Doyle
Felix, Thanks for filing this. Do you have any rough sketches of how you want to expose this in the API? Here's some rambling that is _not_ comprehensive or thought...
Thanks Felix for the counter-dump! After some thought, here's a bit of what I'm thinking more coherently: - I like that `add_folder` or a similar method exists off of datasource,...
Felix, Thanks, I'll take a look at the test ASAP now that I'm back from vacation! On the question you raise -- I proposed the field have some knowledge so...
Thanks! I'm mostly interested in how this code could work: ```python random_field = ds.fields.pop() awesome_folder = ds.add_folder('awesome') awesome_folder.add_field(random_field) >>> MemberOfMultipleFoldersException: Field is already in folder 'abc' ``` With option 1,...
Felix, what about a reference to the parent data source instead, and then it would follow the same logic. ```python class Folder: def __init__(self, name, parent_datasource): self.ds = parent_datasource self.name...
I think it's ready for the first crack, we might tweak exposing ds vs folders (but it's an easy item to play with) or some other small items (Should the...
Output of futurize: ```diff --- ScriptedInstaller.py (original) +++ ScriptedInstaller.py (refactored) @@ -1,4 +1,6 @@ from __future__ import print_function +from builtins import map +from builtins import str import sys import os...
Can't promise a timeline, but if this is as simple as I think, I'll try and get to it within the next month.