pymemri issueshttps://gitlab.memri.io/memri/pymemri/-/issues2022-09-30T08:18:21Zhttps://gitlab.memri.io/memri/pymemri/-/issues/147Infra Alpha (prod) | Plugin should stop if POD is restarted2022-09-30T08:18:21ZAglaiaInfra Alpha (prod) | Plugin should stop if POD is restartedquick fix: have a listener that polls the Pod every few seconds on an endpoint that needs pluginAuth. On error, send a sigint to plugin.
Long term solution: pluginAuth is restored when pod restarts accidentally.
┆Issue is synchronized w...quick fix: have a listener that polls the Pod every few seconds on an endpoint that needs pluginAuth. On error, send a sigint to plugin.
Long term solution: pluginAuth is restored when pod restarts accidentally.
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/3axvfew) by [Unito](https://www.unito.io)Eelco van der WelEelco van der Welhttps://gitlab.memri.io/memri/pymemri/-/issues/146Pymemri docker images2022-09-07T10:48:39ZAglaiaPymemri docker imagesCreate a pymemri docker image for every pymemri library release so the CI is faster for testing
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2y8b9wa) by [Unito](https://www.unito.io)Create a pymemri docker image for every pymemri library release so the CI is faster for testing
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2y8b9wa) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/145Edgy unions | pymemri: write tests2022-08-10T19:43:27ZAglaiaEdgy unions | pymemri: write tests
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2qajh50) by [Unito](https://www.unito.io)
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2qajh50) by [Unito](https://www.unito.io)Alp Deniz OgutAlp Deniz Oguthttps://gitlab.memri.io/memri/pymemri/-/issues/144Edgy unions | pymemri: implement loading new items using unions2022-08-10T19:43:36ZAglaiaEdgy unions | pymemri: implement loading new items using unions
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2qajh48) by [Unito](https://www.unito.io)
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2qajh48) by [Unito](https://www.unito.io)Alp Deniz OgutAlp Deniz Oguthttps://gitlab.memri.io/memri/pymemri/-/issues/143Edgy unions | pymemri: implement creating new items using unions2022-08-18T07:56:13ZAglaiaEdgy unions | pymemri: implement creating new items using unions
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2qajh32) by [Unito](https://www.unito.io)
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2qajh32) by [Unito](https://www.unito.io)Alp Deniz OgutAlp Deniz Oguthttps://gitlab.memri.io/memri/pymemri/-/issues/142POD search 2.0 | Release feature: merge pod, pymemri, plugins (template, what...2022-08-23T15:17:15ZAglaiaPOD search 2.0 | Release feature: merge pod, pymemri, plugins (template, whatsapp, google colab)Alpi looks at Whatsapp
blocked by GraphQL implemenation for pymemri
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2gh6a6u) by [Unito](https://www.unito.io)Alpi looks at Whatsapp
blocked by GraphQL implemenation for pymemri
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2gh6a6u) by [Unito](https://www.unito.io)Koen van der VeenKoen van der Veenhttps://gitlab.memri.io/memri/pymemri/-/issues/139Edgy Unions | Add graphQL to pymemri Datasets2022-08-31T08:12:56ZAglaiaEdgy Unions | Add graphQL to pymemri Datasetsremove exporters, use client graphQL functionality
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2gwk01u) by [Unito](https://www.unito.io)remove exporters, use client graphQL functionality
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2gwk01u) by [Unito](https://www.unito.io)Eelco van der WelEelco van der Welhttps://gitlab.memri.io/memri/pymemri/-/issues/133Handle missing schema classes2022-04-12T10:01:00ZAglaiaHandle missing schema classesHappens when:
client gets an item from the Pod, either directly or as edge of other item
Current behaviour:
If schema is defined locally (central schema or registered in PodClient), everything works
If schema cannot be found, PodClient ...Happens when:
client gets an item from the Pod, either directly or as edge of other item
Current behaviour:
If schema is defined locally (central schema or registered in PodClient), everything works
If schema cannot be found, PodClient throws an error.
Desired behaviour:
Needs some discussion
Current behaviour is often issue when an item has an edge to another item with an unknown schema.
Possible approach: have a flag in pod to ignore, throw warning, or error when encountering unknown Schema.
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2bmrgeq) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/132Write pytest tests for data.loader2022-04-11T10:13:00ZAglaiaWrite pytest tests for data.loaderI haven't copied the test part for data.loader to pytest because of the transformers requirement + slow tests. We might want some extra tests here, and move the transformers tests to a repo that has transformers as requirement (integrati...I haven't copied the test part for data.loader to pytest because of the transformers requirement + slow tests. We might want some extra tests here, and move the transformers tests to a repo that has transformers as requirement (integration test for `plugin_templates`)
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ar7vtq) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/131Add tests for template.config2022-04-08T13:12:58ZAglaiaAdd tests for template.config
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajju99) by [Unito](https://www.unito.io)
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajju99) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/128Remove pymemri.plugin.stateful2022-04-08T12:35:40ZAglaiaRemove pymemri.plugin.statefulModule no longer used.
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajjk2e) by [Unito](https://www.unito.io)Module no longer used.
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajjk2e) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/127Add tests for oauthauthenticator2022-04-08T12:30:40ZAglaiaAdd tests for oauthauthenticator
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajjhv8) by [Unito](https://www.unito.io)
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajjhv8) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/126Bug: feedback needed for uploading and downloading items2022-04-07T11:07:06ZAglaiaBug: feedback needed for uploading and downloading itemsIssue: When downloading an item that was recently uploaded, Pod can return an error 500 Failure: Failed to read data from target file, No such file or directory (os error 2)
Example, fails on get_file:
@pytest.fixture(scope="module")
d...Issue: When downloading an item that was recently uploaded, Pod can return an error 500 Failure: Failed to read data from target file, No such file or directory (os error 2)
Example, fails on get_file:
@pytest.fixture(scope="module")
def client():
return PodClient()
@pytest.fixture
def photo():
x = np.random.randint(0, 255+1, size=(640, 640), dtype=np.uint8)
return Photo.from_np(x)
def test_create_file(client: PodClient, photo: Photo):
client.add_to_schema(File, Photo)
file = photo.file0
assert client.create(file)
assert client.upload_file(photo.data)
data = client.get_file(file.sha256)
assert photo.data == data
Fixed with a sleep(1) after upload, following test does succeed:
def test_create_file(client: PodClient, photo: Photo):
client.add_to_schema(File, Photo)
file = photo.file0
assert client.create(file)
assert client.upload_file(photo.data)
sleep(1)
data = client.get_file(file.sha256)
assert photo.data == data
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajcw2n) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/125Clean up pymemri requirements2022-04-07T09:37:04ZAglaiaClean up pymemri requirements
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajcapj) by [Unito](https://www.unito.io)
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2ajcapj) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/124Investigate Cookiecutter templates2022-04-03T19:41:52ZAglaiaInvestigate Cookiecutter templatescookiecutter has more advanced/tested templating than pymemri, and has some templates available that setup things like docs (sphinx) for you. For example
https://github.com/audreyfeldroy/cookiecutter-pypackage
┆Issue is synchronized ...cookiecutter has more advanced/tested templating than pymemri, and has some templates available that setup things like docs (sphinx) for you. For example
https://github.com/audreyfeldroy/cookiecutter-pypackage
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/2a6y0td) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/122Restart running plugins with new authentication on pod restart2022-03-30T19:16:38ZAglaiaRestart running plugins with new authentication on pod restartAs a user, I don't want my plugin to stop unexpectedly because the pod had to restart.
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/294vt7z) by [Unito](https://www.unito.io)As a user, I don't want my plugin to stop unexpectedly because the pod had to restart.
┆Issue is synchronized with this [Clickup ](https://app.clickup.com/t/294vt7z) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/121Design method to keep central schema in sync with pymemri schema2022-03-04T15:31:44ZAglaiaDesign method to keep central schema in sync with pymemri schema
┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/27h43qz) by [Unito](https://www.unito.io)
┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/27h43qz) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/119Cannot load items from pod with no local schema definition2022-03-02T14:10:24ZAglaiaCannot load items from pod with no local schema definitionThis issue happens in two places:
When loading Items without local definition (example, schema is in another plugin): client.search({type: "CategoricalPrediction"}) will give an error. Not a big issue, this behaviour is expected.
When l...This issue happens in two places:
When loading Items without local definition (example, schema is in another plugin): client.search({type: "CategoricalPrediction"}) will give an error. Not a big issue, this behaviour is expected.
When loading items that have edges to items without local definition. Example: After prediction sentiment on a set of Messages, load messages in pymemri: client.search({type: "Message"}) will throw an error because Message -- label -➝ CategoricalPrediction . This is a much larger issue, pymemri will throw errors when not expected.
Solutions
simple: ignore items that don't have a local schema defined
complex: infer Item class from pod definition
┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/275y8n4) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/115Enable schema diagrams for docs with mermaid2022-02-21T16:22:55ZAglaiaEnable schema diagrams for docs with mermaidAdding diagrams to docs (for schema, or api design) is a useful feature to have. Pod uses mermaid, pymemri should too
https://bollwyvl.github.io/nb-mermaid/
┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/26ez...Adding diagrams to docs (for schema, or api design) is a useful feature to have. Pod uses mermaid, pymemri should too
https://bollwyvl.github.io/nb-mermaid/
┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/26ezhj6) by [Unito](https://www.unito.io)https://gitlab.memri.io/memri/pymemri/-/issues/113Only export relevant edges when exporting plugin schema2022-02-16T11:40:53ZAglaiaOnly export relevant edges when exporting plugin schemaNote: Requirements M5 changed. Plugin templates and project tasks will now have a fixed schema.
┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/25xw7en) by [Unito](https://www.unito.io)Note: Requirements M5 changed. Plugin templates and project tasks will now have a fixed schema.
┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/25xw7en) by [Unito](https://www.unito.io)Eelco van der WelEelco van der Wel