Git Product home page Git Product logo

Comments (4)

nsoranzo avatar nsoranzo commented on July 17, 2024

@innovate-invent The owner property was never exposed as an attribute of the Workflow objects returned by gi.workflows.list(). You should be able to extract it with <Workflow_Object>.wrapped['owner'] or by adding 'owner' here. If the latter works, a PR is welcome!

from bioblend.

innovate-invent avatar innovate-invent commented on July 17, 2024

Woops, looks like a monkey patch I was using allowed it to work.

from bioblend.

nsoranzo avatar nsoranzo commented on July 17, 2024

Woops, looks like a monkey patch I was using allowed it to work.

That's what I suspected! Any way, should be fixed by commit 7ce14b7 .

from bioblend.

innovate-invent avatar innovate-invent commented on July 17, 2024

If it is worth anything to you, these are my patches:

def get_invocations(self, workflow_id, history_id=None, user_id=None, include_terminal=True, limit=None, view='collection', step_details=False):
    url = self._invocations_url(workflow_id)
    params = {'include_terminal': include_terminal, 'view': view, 'step_details': step_details}
    if history_id: params['history_id'] = history_id
    if user_id: params['user_id'] = user_id
    if limit: params['limit'] = limit
    return self._get(url=url, params=params)


WorkflowClient.get_invocations = get_invocations
Workflow.BASE_ATTRS += ('owner', 'number_of_steps', 'show_in_tool_panel', 'latest_workflow_uuid')

from bioblend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.