Giter VIP home page Giter VIP logo

django-task-api's People

Contributors

brendan-ward avatar dependabot[bot] avatar jenstimmerman avatar nikmolnar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-task-api's Issues

using removed celery functionality

updating to latest celery makes this project fail

  File "/home/jens/.local/lib/python3.9/site-packages/task_api/apps.py", line 8, in ready
    from .backends import celery  # Make sure task is registered
  File "/home/jens/.local/lib/python3.9/site-packages/task_api/backends/celery.py", line 5, in <module>
    from celery import task
  File "/home/jens/.local/lib/python3.9/site-packages/celery/local.py", line 497, in __getattr__
    module = __import__(self._direct[name], None, None, [name])
ModuleNotFoundError: No module named 'celery.task'

started and task properties are not set

Given a task that runs successfully, started and task are never set:

Example response

{
    "created": "2020-01-22T05:12:32.205814Z",
    "finished": "2020-01-22T05:12:32.312156Z",
    "messages": [],
    "outputs": {
        "message": "Run away! Run away!"
    },
    "progress": 0,
    "started": null,
    "status": "succeeded",
    "target": 10,
    "task": "",
    "uuid": "40e8872a-e27e-4e73-a38c-bd0f4cd70734"
}

Don't return full input data on every request

Right now, it looks like the full set of input data are returned on every request (both task create and task status). This is not ideal for larger initial requests - e.g., a large JSON object for one of the input parameters.

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.