Skip to content

v0.3.0

Choose a tag to compare

@fernaper fernaper released this 23 Mar 17:35
· 12 commits to main since this release

Changelog


  1. Support configuration using environment variables:

Configuration

You can configure FlowGrid by setting environment variables. Here are all keys and their default values:

  • FLOWGRID_CELERY_BROKER_URL=amqp://guest:guest@localhost:5672//
  • FLOWGRID_CELERY_RESULT_BACKEND=redis://localhost:6380/0
  • FLOWGRID_SERIALIZER=json
  • FLOWGRID_TASK_SERIALIZER=json
  • FLOWGRID_RESULT_SERIALIZER=json
  • FLOWGRID_ACCEPT_CONTENT=json
  • FLOWGRID_TIMEZONE=UTC
  • FLOWGRID_ENABLE_UTC=True

Serializer, task serializer, result serializer, and accept content can be set to json, pickle or msgpac.
Serializer is a global setting that will be used for all serializers if not set.

The timezone can be set to any valid timezone. The FLOWGRID_ENABLE_UTC variable can be set to True or False (case-insensitive).

  1. Support corroutines tasks
  2. Support new worker parameter --reload or -r to automatically detect file changes and reload the worker.

Full Changelog: 0.1.0...0.3.0