Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental async support #629

Merged
merged 7 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8

[*.{py,js,rst,txt,sh,bat}]
trim_trailing_whitespace = true

[{Makefile,Dockerfile}]
trim_trailing_whitespace = true

[*.bat]
end_of_line = crlf

[*.py]
max_line_length = 79
indent_style = space
indent_size = 4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ neo4j-enterprise-*
*.so

testkit/CAs
testkit/CustomCAs
32 changes: 32 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-case-conflict
- id: check-docstring-first
- id: check-symlinks
- id: destroyed-symlinks
- id: end-of-file-fixer
exclude_types:
- image
- id: fix-encoding-pragma
args: [ --remove ]
- id: mixed-line-ending
args: [ --fix=lf ]
exclude_types:
- batch
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- repo: https://github.com/pycqa/isort
rev: 5.10.0
hooks:
- id: isort
- repo: local
hooks:
- id: unasync
name: unasync
entry: bin/make-unasync
language: system
files: "^(neo4j/_async|tests/unit/async_|testkitbackend/_async)/.*"
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

- Python 3.10 support added
- Python 3.6 support has been dropped.

- `Result`, `Session`, and `Transaction` can no longer be imported from
`neo4j.work`. They should've been imported from `neo4j` all along.
- Experimental pipelines feature has been removed.
- Experimental async driver has been added.

## Version 4.4

Expand Down
22 changes: 21 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,32 @@ Occasionally, we might also have logistical, commercial, or legal reasons why we
Remember that many community members have become regular contributors and some are now even Neo employees!


## Specifically for this project:

All code in `_sync` or `sync` folders is auto-generated. Don't change it, but
install the pre-commit hooks as described below insted. They will take care of
updating the code if necessary.

Setting up the development environment:
* Install Python 3.7+
* Install the requirements
```bash
$ python3 -m pip install -U pip
$ python3 -m pip install -Ur requirements-dev.txt
```
* Install the pre-commit hook, that will do some code-format-checking everytime
you commit.
```bash
$ pre-commit install
```


## Got an idea for a new project?

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


## Further reading
Expand Down
2 changes: 1 addition & 1 deletion ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you simply want to get started or have a question on how to use a particular
[StackOverflow](http://stackoverflow.com/questions/tagged/neo4j) also hosts a ton of questions and might already have a discussion around your problem.
Make sure you have a look there too.

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

Expand Down
Loading