IRC logs for #farmOS, 2023-05-31 (GMT)

2023-05-30
2023-06-01
TimeNickMessage
[04:41:54]<Ujeeee[m]>Hi all, I still do not understand how to use jupyterlite addons, can somebody show example of code that need to be entered in order to input bulk harvest log from csv files?
[04:41:55]<Ujeeee[m]>ACTION uploaded an image: (56KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/LaNkpbYKsAQ... >
[04:42:21]<Ujeeee[m]> * Hi all, I still do not understand how to use jupyterlite addons, can somebody show example of code that need to be entered in order to input bulk harvest log from csv files?
[04:42:21]<Ujeeee[m]>please teach me step by step
[04:57:48]<Ujeeee[m]>update: I success in following the examples to import animals.csv, but still trying to figure out how to import harvest log
[04:58:13]<Ujeeee[m]>ACTION uploaded an image: (70KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/ZnILDMnZpfp... >
[09:54:55]<symbioquine[m]><Ujeeee[m]> "update: I success in following..." <- The minimal code would be pretty much exactly the same, except that instead of `asset--animal` you'd be creating `log--harvest` entities (and you'd remove the `animal_type` relationships obviously). Most of the complexity will come from which fields your data has and what it takes to map those into the log attributes/relationships.
[09:57:29]<symbioquine[m]>> I still do not understand how to use jupyterlite addons
[09:57:30]<symbioquine[m]>If you mean [JupyterLite extentions](https://jupyterlite.readthedocs.io/en/latest/howto/configure/simple_exte...), then that's going to be somewhat involved - especially if you're using https://www.drupal.org/project/jupyterlite
[09:58:56]<symbioquine[m]><Ujeeee[m]> "image.png" <- If you look through some of the examples you should be able to figure out how to import `pyfetch`