Skip to content

Commit 0f53077

Browse files
authored
Merge pull request #629 from robsdedude/async
Experimental async support
2 parents 8af8661 + 24370b8 commit 0f53077

File tree

241 files changed

+15108
-4354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+15108
-4354
lines changed

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
charset = utf-8
9+
10+
[*.{py,js,rst,txt,sh,bat}]
11+
trim_trailing_whitespace = true
12+
13+
[{Makefile,Dockerfile}]
14+
trim_trailing_whitespace = true
15+
16+
[*.bat]
17+
end_of_line = crlf
18+
19+
[*.py]
20+
max_line_length = 79
21+
indent_style = space
22+
indent_size = 4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ neo4j-enterprise-*
2929
*.so
3030

3131
testkit/CAs
32+
testkit/CustomCAs

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.0.1
6+
hooks:
7+
- id: check-case-conflict
8+
- id: check-docstring-first
9+
- id: check-symlinks
10+
- id: destroyed-symlinks
11+
- id: end-of-file-fixer
12+
exclude_types:
13+
- image
14+
- id: fix-encoding-pragma
15+
args: [ --remove ]
16+
- id: mixed-line-ending
17+
args: [ --fix=lf ]
18+
exclude_types:
19+
- batch
20+
- id: trailing-whitespace
21+
args: [ --markdown-linebreak-ext=md ]
22+
- repo: https://github.com/pycqa/isort
23+
rev: 5.10.0
24+
hooks:
25+
- id: isort
26+
- repo: local
27+
hooks:
28+
- id: unasync
29+
name: unasync
30+
entry: bin/make-unasync
31+
language: system
32+
files: "^(neo4j/_async|tests/unit/async_|testkitbackend/_async)/.*"

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
- Python 3.10 support added
66
- Python 3.6 support has been dropped.
7-
7+
- `Result`, `Session`, and `Transaction` can no longer be imported from
8+
`neo4j.work`. They should've been imported from `neo4j` all along.
9+
- Experimental pipelines feature has been removed.
10+
- Experimental async driver has been added.
811

912
## Version 4.4
1013

CONTRIBUTING.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,32 @@ Occasionally, we might also have logistical, commercial, or legal reasons why we
5151
Remember that many community members have become regular contributors and some are now even Neo employees!
5252

5353

54+
## Specifically for this project:
55+
56+
All code in `_sync` or `sync` folders is auto-generated. Don't change it, but
57+
install the pre-commit hooks as described below insted. They will take care of
58+
updating the code if necessary.
59+
60+
Setting up the development environment:
61+
* Install Python 3.7+
62+
* Install the requirements
63+
```bash
64+
$ python3 -m pip install -U pip
65+
$ python3 -m pip install -Ur requirements-dev.txt
66+
```
67+
* Install the pre-commit hook, that will do some code-format-checking everytime
68+
you commit.
69+
```bash
70+
$ pre-commit install
71+
```
72+
73+
5474
## Got an idea for a new project?
5575

5676
If you have an idea for a new tool or library, start by talking to other people in the community.
5777
Chances are that someone has a similar idea or may have already started working on it.
5878
The best software comes from getting like minds together to solve a problem.
59-
And we'll do our best to help you promote and co-ordinate your Neo ecosystem projects.
79+
And we'll do our best to help you promote and co-ordinate your Neo4j ecosystem projects.
6080

6181

6282
## Further reading

ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ If you simply want to get started or have a question on how to use a particular
99
[StackOverflow](http://stackoverflow.com/questions/tagged/neo4j) also hosts a ton of questions and might already have a discussion around your problem.
1010
Make sure you have a look there too.
1111

12-
If you want to make a feature request, please prefix your issue title with `[Feature Request]` so that it is clear to us.
12+
If you want to make a feature request, please prefix your issue title with `[Feature Request]` so that it is clear to us.
1313
If you have a bug report however, please continue reading.
1414
To help us understand your issue, please specify important details, primarily:
1515

0 commit comments

Comments
 (0)