From 2a2b99b02a83063824a920481e708215ad442452 Mon Sep 17 00:00:00 2001 From: Katarina Supe <61758502+katarinasupe@users.noreply.github.com> Date: Wed, 2 Nov 2022 14:14:12 +0100 Subject: [PATCH] Release mgp 1.1.0 (#620) - Updated its README, authors, and published it with the added AuthorizationError that was a part of Memgraph 2.4.0 release. - Added missing SOURCE_TYPE_KAFKA and SOURCE_TYPE_PULSAR variables in _mgp. --- release/mgp/README.md | 11 +++++++++-- release/mgp/_mgp.py | 8 ++++++++ release/mgp/pyproject.toml | 6 +++--- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/release/mgp/README.md b/release/mgp/README.md index 91c3cb25b..0a5b318e3 100644 --- a/release/mgp/README.md +++ b/release/mgp/README.md @@ -1,4 +1,11 @@ # mgp -PyPi package used for type hinting when creating MAGE modules. The get started -using MAGE repository checkout the repository here: https://github.com/memgraph/mage. +PyPi package used for type hinting when creating query modules. Repository of already available query modules is called [MAGE](https://github.com/memgraph/mage). + +## 🎬 Get started + + To learn more, head over to the [docs for the query modules Python API](https://memgraph.com/docs/memgraph/reference-guide/query-modules/api/python-api). To get started with query modules, check out the [how-to guide](https://memgraph.com/docs/memgraph/how-to-guides/query-modules) on Memgraph docs. + + ## 🔢 Versioning + + - mgp v1.1 is compatible with Memgraph >= 2.4.0 diff --git a/release/mgp/_mgp.py b/release/mgp/_mgp.py index 34cf96263..4694bbb57 100644 --- a/release/mgp/_mgp.py +++ b/release/mgp/_mgp.py @@ -257,3 +257,11 @@ class _MODULE: @staticmethod def add_function(wrapper): pass + + +class SOURCE_TYPE_KAFKA: + pass + + +class SOURCE_TYPE_PULSAR: + pass diff --git a/release/mgp/pyproject.toml b/release/mgp/pyproject.toml index e396d4db4..137eca123 100644 --- a/release/mgp/pyproject.toml +++ b/release/mgp/pyproject.toml @@ -1,13 +1,13 @@ [tool.poetry] name = "mgp" -version = "1.0.0" +version = "1.1.0" description = "Memgraph's module for developing MAGE modules. Used only for type hinting!" authors = [ - "MasterMedo ", - "jbajic ", "katarinasupe ", + "jbajic ", "antejavor ", "antaljanosbenjamin ", + "MasterMedo ", ] license = "Apache-2.0" readme = "README.md"