diff --git a/.github/workflows/daily_banchmark.yaml b/.github/workflows/daily_banchmark.yaml index 086980915..b78dc4763 100644 --- a/.github/workflows/daily_banchmark.yaml +++ b/.github/workflows/daily_banchmark.yaml @@ -11,6 +11,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Diff, Gen7] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository diff --git a/.github/workflows/full_clang_tidy.yaml b/.github/workflows/full_clang_tidy.yaml index 96d295398..a556a5866 100644 --- a/.github/workflows/full_clang_tidy.yaml +++ b/.github/workflows/full_clang_tidy.yaml @@ -9,6 +9,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Ubuntu20.04] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository diff --git a/.github/workflows/release_centos8.yaml b/.github/workflows/release_centos8.yaml index 5dcf0c49b..d5651f8fe 100644 --- a/.github/workflows/release_centos8.yaml +++ b/.github/workflows/release_centos8.yaml @@ -11,6 +11,8 @@ jobs: runs-on: [self-hosted, Linux, X64, CentOS8] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} timeout-minutes: 960 steps: @@ -80,6 +82,8 @@ jobs: runs-on: [self-hosted, Linux, X64, CentOS8] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository @@ -135,6 +139,8 @@ jobs: runs-on: [self-hosted, Linux, X64, CentOS8] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository @@ -209,6 +215,8 @@ jobs: runs-on: [self-hosted, Linux, X64, CentOS8] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} timeout-minutes: 960 steps: diff --git a/.github/workflows/release_debian10.yaml b/.github/workflows/release_debian10.yaml index 62d09c018..3c54c9a93 100644 --- a/.github/workflows/release_debian10.yaml +++ b/.github/workflows/release_debian10.yaml @@ -11,6 +11,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Debian10] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} timeout-minutes: 960 steps: @@ -79,6 +81,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Debian10] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository @@ -134,6 +138,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Debian10] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository @@ -208,6 +214,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Debian10] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} timeout-minutes: 960 steps: @@ -332,6 +340,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Debian10, JepsenControl] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} timeout-minutes: 60 steps: diff --git a/.github/workflows/release_ubuntu2004.yaml b/.github/workflows/release_ubuntu2004.yaml index 7d827289d..d402a77f3 100644 --- a/.github/workflows/release_ubuntu2004.yaml +++ b/.github/workflows/release_ubuntu2004.yaml @@ -11,6 +11,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Ubuntu20.04] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} timeout-minutes: 960 steps: @@ -79,6 +81,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Ubuntu20.04] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository @@ -134,6 +138,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Ubuntu20.04] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} steps: - name: Set up repository @@ -208,6 +214,8 @@ jobs: runs-on: [self-hosted, Linux, X64, Ubuntu20.04] env: THREADS: 24 + MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }} + MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }} timeout-minutes: 960 steps: diff --git a/include/mgp.py b/include/mgp.py index b15d0d969..d713ada05 100644 --- a/include/mgp.py +++ b/include/mgp.py @@ -14,8 +14,6 @@ This module provides the API for usage in custom openCypher procedures. # actual implementation. Functions have type annotations as supported by Python # 3.5, but variable type annotations are only available with Python 3.6+ -from __future__ import annotations - from collections import namedtuple from functools import wraps import inspect @@ -399,7 +397,7 @@ class Edge: return EdgeType(self._edge.get_type_name()) @property - def from_vertex(self) -> Vertex: + def from_vertex(self) -> 'Vertex': """ Get the source vertex. @@ -410,7 +408,7 @@ class Edge: return Vertex(self._edge.from_vertex()) @property - def to_vertex(self) -> Vertex: + def to_vertex(self) -> 'Vertex': """ Get the destination vertex. @@ -960,7 +958,8 @@ LocalDateTime = datetime.datetime Duration = datetime.timedelta -Any = typing.Union[bool, str, Number, Map, Path, list, Date, LocalTime, LocalDateTime, Duration] +Any = typing.Union[bool, str, Number, Map, Path, + list, Date, LocalTime, LocalDateTime, Duration] List = typing.List