Skip to content

Instantly share code, notes, and snippets.

We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 29 columns, instead of 10. in line 4.
state_name,annotation_name,env_name,ida_name,state_active,state_authenticated,state_created,state_everyone,state_groups,state_languages,state_modified,state_note,state_percent,state_rollout,state_staff,state_superusers,state_testing,state_users,annotation_category,annotation_creation_date,annotation_default,annotation_description,annotation_expiration_date,annotation_implementation,annotation_status,annotation_tickets,annotation_use_cases,annotation_warnings,toggle_type
allow_repeat_purchase,,test,ecommerce,True,,2017-06-21 16:05 UTC,,,,2017-06-21 16:05 UTC,,,,,,,,,,,,,,,,,,WaffleSwitch
async_order_fulfillment,,test,ecommerce,,,2017-06-21 16:06 UTC,,,,2017-06-21 16:06 UTC,Determines what percentage of orders are fulfilled asynchronously.,0,,,,,,,,,,,,,,,,waffle.sample
auto_course_about_page_creation,,test,discovery,False,,2020-04-01 18:31 UTC,,,,2020-04-01 18:31 UTC,,,,,,,,,,,,,,,,,,WaffleSwitch
disable_microfrontend_for_basket_page,,test,ecommerce,,False,2020-04-01 18:28 UTC,Unknown,0,<filter object at 0x105
@jinder1s
jinder1s / script data input api
Last active July 13, 2020 15:48
We need a common understanding of how the script should take in data to process
Possible data input:
Listed are flag inputs for script:
1)
--annotations-dir: a path to directory with all annotation files
example: ./annotations -> contains edx-platform-annotations.yml, discovery-annotations.yml...
--toggle-data-dump(name TBD): a path to directory containing directories containing json files with sql data dump
eample: ./data_dump -> contains: prod_env, stage_env, devstack_env -> contains: lms_waffle.json, discovery_waffle.json...
- What is your thought on the scope of event_type in openedx_events/signal.py

https://github.com/eduNEXT/openedx-events/blob/main/openedx_events/learning/signals.py#L31

  • Could a single attrs class have multiple event types?
  • One of the reasons behind implementation of the attrs class in openedx_events was ability to reuse in different contexts. As such, we are planning on using those attrs classes to specify events for kafka.

    Should we be using the signal classes in signal.py or are the classes in signal.py specifically for django signals?