Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying column attributes in upload_entities #161

Open
SHuang-Broad opened this issue Aug 9, 2021 · 0 comments
Open

Specifying column attributes in upload_entities #161

SHuang-Broad opened this issue Aug 9, 2021 · 0 comments

Comments

@SHuang-Broad
Copy link

Hi,

I may need a feature that is currently probably un-supported by FISS.
I am willing to add that feature by a PR, but just need a pointer on where to start.
One caveat is that I am unsure if the Terra API supports this (if not, then this ticket should be opened there).

Currently fapi.help() describes upload_entities as

    upload_entities(namespace, workspace, entity_data, model='firecloud')
        Upload entities from tab-delimited string.
        
        Args:
            namespace (str): project to which workspace belongs
            workspace (str): Workspace name
            entity_data (str): TSV string describing entites
            model (str): Data Model type. "firecloud" (default) or "flexible"
        
        Swagger:
            https://api.firecloud.org/#!/Entities/importEntities
            https://api.firecloud.org/#!/Entities/flexibleImportEntities

Where entity_data is treated basically as a flat string type.

What I am trying to get to, is to support specifying the column attributes when uploading the table through FISS, like in this screenshot via Terra GUI

Screen Shot 2021-08-09 at 9 51 50 AM

Thanks!
Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant