Commit 12a05b6
[main < develop] Publish GQLAlchemy 1.2 (#129)
* add code documentation
* add receive and return types
* add python-markdown with docusaurus renderer
* add documentation for the query builder
* Update docs
* Fix formatting
* Add tests for docs
* Fix NodePartialQuery and Merge
* Add load node test
* Add node mapping test
* Remove description
* Minor fixes
* Add test for relationship mapping
* Add save relationship tests
* Add load tests
* Add testing without Field
* Fix formatting in node labels and properties
* Expose validator from pydantic
* Add pydantic validator test
* Refactor fixtures
* Add base and simple merge tests
* Remove space from trigger test
* Ignore test test_run_1000_queries
* Add test for constraints
* Add new fixture
* Add trigger ALL check, xor and constraint check
* Add unique and exists contraints getters
* Remove indices - not necessary
* Add test for index attribute
* Remove ensure indexes from fixture
* Add and, or, xor tests
* Add XOR and LOAD CSV to query builder and fix optional in Merge
* Refactor code
* Refactor tests
* Add execute option to query builder
* change tests
* Fix review comments
* Fix constraint tests
* Remove print()
* Replace execute_and_fetch with execute
* Add create trigger without ON
* Add simpler implementation
* bootstrap_servers argument usage
* property->item and removed spaces when it is label
* List[str] instead of List
* patch slight merge difference
* pymgclient back to 1.1.0
* poetry.lock revert to develop setting
* formatting correction
* revert pyproject.toml to develop
* revert poetry.lock to develop
* black formatting patch
* Update pymgclient and GQLAlchemy version
* Update pymgclient and GQLAlchemy version
* Change to load the whole streamer node
* Remove unnecessary test
* Add tests
* Add batch save methods
* Extend test
* Format code
* Fix save_node() method and add new test
* Test node & relationship objects in query builder
* Add tests for loading and properties
* property->item and removed spaces when it is label
* patch slight merge difference
* pymgclient back to 1.1.0
* poetry.lock revert to develop setting
* formatting correction
* Update pymgclient and GQLAlchemy version
* bootstrap_servers argument usage
* List[str] instead of List
* revert pyproject.toml to develop
* revert poetry.lock to develop
* Update pymgclient and GQLAlchemy version
* Add load node test
* Minor fixes
* Add testing without Field
* change tests
* Change to load the whole streamer node
* Remove unnecessary test
* Update
* Update tests
* Change 'property' to 'item' in xor_where
* Fix creating query with label
* Add tests for label filtering in where
* Update exception handling in test
* Remove where tests
* Fix if condition statement
* Remove unnecessary variable assignments
* [develop < T0040-GA] Add index on label (#113)
* Add new exception class for index on label
* Add index on label with tests
* Add new lines
* Add newlines again
* Change test according to docs
* Remove None from attrs.get
* [develop < T0020-GA] Fix label inheritance (#105)
* Research label behaviour
* Save parent class labels
* Fix black format
* Fix inheritance from multiple classes
* Remove prints
* Refactor code
* Reformat with black
* Skip set union if not necessary
* Replace if statement
* Refactor code
Co-authored-by: katarinasupe <supe.katarina@gmail.com>
* [develop < T0039-GA] Change where procedure in query builder (#111)
* Add new where methods and tests
* Fix other tests accordingly (4)
* Change error message check
* Add better error handling and fix tests
* Remove code duplication
* Fix docstring
* Add all docstrings
* Make build where private
* Refactor code
* Fix black and flake
* _build_where_query method updated
* formatting
Co-authored-by: Boris Tasevski <boris.tasevski@memgraph.io>
* [develop < T0035 - GA] Add table to graph importer (#100)
* initial implementation of loader/translator logic; No tests added
* query builder updated with two new functionalities; 1) Where Clause that compares two properties in database; 2) construct_query method that simply exposes _construct_query protected method
* major naming changes; minor code reorganization
* Blank spaces
* Minor naming changes; Initial documentation;
* code refactoring; introduced dacite
* Introduced mapping class; Template Trigger Query introduced; Save row as relationship rehauled
* Added drop all indexes and drop all triggers to memgraph; Trigger query creation is now static method
* parameter fix
* Minor Typing related changes
* remove unused import
* Format document
* Fixed Query Builder Where test
* Where clause additional fix
* import fix
* rename parameter; remove unnecessary typing
* Small bugfix; Minor refactoring
* drop database on start set to True in translate method
* docs update; format of dataset introduced. If omitted, defaults to parquet
Co-authored-by: Boris Tasevski <boris.tasevski@memgraph.io>
* [develop < T0046-GA] Add order by descending (#114)
* Add order_by_desc and test
* Fix DESC and add keyword in test
* Desc inherits from OrderBy
* Add new order_by
* Order By revamped
* Add type error and key arguments in tests
* Add missing quotes
* reduced line length under 80
* Remove trailing whitespaces
* Add query check before execution
* Where clause related classes rewritten
* order by related methods moved to OrderByPartialQuery class
* minor code fix
* Add where and order_by examples to docstrings
* Add NOT and fix tests
* Add docstring examples
* Remove blank lines after docstrings
Co-authored-by: Boris Tasevski <boris.tasevski@memgraph.io>
* [develop < T0001-GA] Memgraph instance runner (#91)
* Add initial instance runner
* Update instance_runner
* Update instance runner
* Update Docker runner
* Add Ubutnu runner
* Remove Ubuntu instance runner
* Remove prints
* Fix instance_runner test
* Fix binary test
* Fix step order in workflow
* Add sudo to test
* Skip some tests in Windows workflow
* Pull Docker image in Windows workflow
* Update Docker image in Windows workflow
* Update Docker image in Windows workflow
* Skip some tests in Windows workflow
* Remove Docker pull from Windows workflow
* Add more tests and fix Docker bug
* Refactor tests and binary runner
* Refactor code and add docstrings
* Fix docstring formatting
* Fix formatting
* Replace strings with constants
* Add tests and new method
* Add docker mark to test
* Add constants and formatting
* Add f strings
* Add exponential backoff
* Fix formatting
* Fix formatting
* Update connection retry delay time
* Add checklist and closes keyword (#127)
* [develop < T0023-GA] Add Azure Blob and local storage importers (#104)
* initial implementation of loader/translator logic; No tests added
* query builder updated with two new functionalities; 1) Where Clause that compares two properties in database; 2) construct_query method that simply exposes _construct_query protected method
* major naming changes; minor code reorganization
* Blank spaces
* Blob datasource and importer
* Minor naming changes; Initial documentation;
* refactoring loaders.py
* Boris loaders
* code refactoring; introduced dacite
* boriss commit, added comments
* tiny fix
* removed doubling of where method
* Mrma; replaced filesystem_type str with enum, added ValueError output
* added enum for DataLoaders, extracted supported filetypes
* Update loaders.py
* returned Boris' query_builder code
* I am bad at git
* Introduced mapping class; Template Trigger Query introduced; Save row as relationship rehauled
* Added drop all indexes and drop all triggers to memgraph; Trigger query creation is now static method
* parameter fix
* Minor Typing related changes
* remove unused import
* Format document
* added custom importers + minor changes
* extracted some strings
* minor fix
* Fixed Query Builder Where test
* Where clause additional fix
* tests for importer
* tiny fixes
* Black formatting
* further black formatting
* workflows edit
* flake8 format
* reverted workflows
* indentation
* comment styling
* removed changes not by me
* added tests with other filetypes, bugfix
* add filetype examples
* merging bugfix
* dodao print-eve kako Boris zapoveda
* formatting for BLACK
* orc file not readable on Windows
* fix previous commit
* latest changes
* applied tests
* docstrings update
* poetry update
* revert poetry.lock
* one more
* revert version of pywin32
* Update docstrings
Co-authored-by: Boris Tasevski <boris.tasevski@memgraph.io>
Co-authored-by: Ivan Despot <ivan.g.despot@outlook.com>
* [develop < T0048-GA] Update and extend code documentation (#116)
* Update the query_builder documentation
* Update docs
Co-authored-by: MasterMedo <mislav.vuletic@gmail.com>
Co-authored-by: katarinasupe <supe.katarina@gmail.com>
Co-authored-by: Bruno Sacaric <bruno.sacaric@gmail.com>
Co-authored-by: Bruno Sačarić <31968691+brunos252@users.noreply.github.com>
Co-authored-by: Boris Taševski <36607228+BorisTasevski@users.noreply.github.com>
Co-authored-by: Katarina Supe <61758502+katarinasupe@users.noreply.github.com>
Co-authored-by: Boris Tasevski <boris.tasevski@memgraph.io>1 parent e12093f commit 12a05b6
57 files changed
Lines changed: 6575 additions & 821 deletions
File tree
- .github
- workflows
- docs/reference
- gqlalchemy
- gqlalchemy
- tests
- docs
- integration
- intergration
- loaders
- data
- memgraph
- ogm
- on_disk_property_storage
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
74 | | - | |
| 78 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
| |||
95 | 106 | | |
96 | 107 | | |
97 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
98 | 115 | | |
99 | 116 | | |
100 | 117 | | |
| |||
103 | 120 | | |
104 | 121 | | |
105 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
106 | 133 | | |
107 | 134 | | |
108 | 135 | | |
| |||
111 | 138 | | |
112 | 139 | | |
113 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
114 | 146 | | |
115 | 147 | | |
116 | 148 | | |
| |||
119 | 151 | | |
120 | 152 | | |
121 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
122 | 160 | | |
123 | 161 | | |
124 | 162 | | |
| |||
127 | 165 | | |
128 | 166 | | |
129 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
130 | 178 | | |
131 | 179 | | |
132 | 180 | | |
| |||
135 | 183 | | |
136 | 184 | | |
137 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
0 commit comments