Small polishing for Release workflow (#250)
This commit is contained in:
parent
d04e23805d
commit
69e4f1784b
2
.github/workflows/daily_banchmark.yaml
vendored
2
.github/workflows/daily_banchmark.yaml
vendored
@ -11,6 +11,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Diff, Gen7]
|
runs-on: [self-hosted, Linux, X64, Diff, Gen7]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
|
2
.github/workflows/full_clang_tidy.yaml
vendored
2
.github/workflows/full_clang_tidy.yaml
vendored
@ -9,6 +9,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
|
8
.github/workflows/release_centos8.yaml
vendored
8
.github/workflows/release_centos8.yaml
vendored
@ -11,6 +11,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, CentOS8]
|
runs-on: [self-hosted, Linux, X64, CentOS8]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
timeout-minutes: 960
|
timeout-minutes: 960
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -80,6 +82,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, CentOS8]
|
runs-on: [self-hosted, Linux, X64, CentOS8]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
@ -135,6 +139,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, CentOS8]
|
runs-on: [self-hosted, Linux, X64, CentOS8]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
@ -209,6 +215,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, CentOS8]
|
runs-on: [self-hosted, Linux, X64, CentOS8]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
timeout-minutes: 960
|
timeout-minutes: 960
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
10
.github/workflows/release_debian10.yaml
vendored
10
.github/workflows/release_debian10.yaml
vendored
@ -11,6 +11,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Debian10]
|
runs-on: [self-hosted, Linux, X64, Debian10]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
timeout-minutes: 960
|
timeout-minutes: 960
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -79,6 +81,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Debian10]
|
runs-on: [self-hosted, Linux, X64, Debian10]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
@ -134,6 +138,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Debian10]
|
runs-on: [self-hosted, Linux, X64, Debian10]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
@ -208,6 +214,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Debian10]
|
runs-on: [self-hosted, Linux, X64, Debian10]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
timeout-minutes: 960
|
timeout-minutes: 960
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -332,6 +340,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Debian10, JepsenControl]
|
runs-on: [self-hosted, Linux, X64, Debian10, JepsenControl]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
8
.github/workflows/release_ubuntu2004.yaml
vendored
8
.github/workflows/release_ubuntu2004.yaml
vendored
@ -11,6 +11,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
timeout-minutes: 960
|
timeout-minutes: 960
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -79,6 +81,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
@ -134,6 +138,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up repository
|
- name: Set up repository
|
||||||
@ -208,6 +214,8 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
runs-on: [self-hosted, Linux, X64, Ubuntu20.04]
|
||||||
env:
|
env:
|
||||||
THREADS: 24
|
THREADS: 24
|
||||||
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
||||||
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
||||||
timeout-minutes: 960
|
timeout-minutes: 960
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -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
|
# actual implementation. Functions have type annotations as supported by Python
|
||||||
# 3.5, but variable type annotations are only available with Python 3.6+
|
# 3.5, but variable type annotations are only available with Python 3.6+
|
||||||
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
import inspect
|
import inspect
|
||||||
@ -399,7 +397,7 @@ class Edge:
|
|||||||
return EdgeType(self._edge.get_type_name())
|
return EdgeType(self._edge.get_type_name())
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def from_vertex(self) -> Vertex:
|
def from_vertex(self) -> 'Vertex':
|
||||||
"""
|
"""
|
||||||
Get the source vertex.
|
Get the source vertex.
|
||||||
|
|
||||||
@ -410,7 +408,7 @@ class Edge:
|
|||||||
return Vertex(self._edge.from_vertex())
|
return Vertex(self._edge.from_vertex())
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def to_vertex(self) -> Vertex:
|
def to_vertex(self) -> 'Vertex':
|
||||||
"""
|
"""
|
||||||
Get the destination vertex.
|
Get the destination vertex.
|
||||||
|
|
||||||
@ -960,7 +958,8 @@ LocalDateTime = datetime.datetime
|
|||||||
|
|
||||||
Duration = datetime.timedelta
|
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
|
List = typing.List
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user