File tree Expand file tree Collapse file tree 6 files changed +61
-2
lines changed
Expand file tree Collapse file tree 6 files changed +61
-2
lines changed Original file line number Diff line number Diff line change 1- recursive-include requirements *
1+ graft requirements
2+ graft examples
3+ graft docs
4+ recursive-exclude docs/generated *
5+ graft tests
6+ recursive-exclude tests/config *.xml
7+ recursive-exclude tests/logs *
8+ global-exclude *.py[cod]
9+ global-exclude *__pycache__*
10+ include tox.ini
211include README.md
12+ include LICENSE
13+ include NOTICE
Original file line number Diff line number Diff line change 1+ Apache Ignite binary client Python API
2+ Copyright 2021 The Apache Software Foundation
3+
4+ This product includes software developed at
5+ The Apache Software Foundation (http://www.apache.org/).
Original file line number Diff line number Diff line change 1+ # Licensed to the Apache Software Foundation (ASF) under one or more
2+ # contributor license agreements. See the NOTICE file distributed with
3+ # this work for additional information regarding copyright ownership.
4+ # The ASF licenses this file to You under the Apache License, Version 2.0
5+ # (the "License"); you may not use this file except in compliance with
6+ # the License. You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
16+ services :
17+ ignite_0 :
18+ image : apacheignite/ignite:latest
19+ ports :
20+ - 10800:10800
21+ restart : always
22+ network_mode : host
23+
24+ ignite_1 :
25+ image : apacheignite/ignite:latest
26+ ports :
27+ - 10800:10801
28+ restart : always
29+ network_mode : host
30+
31+ ignite_2 :
32+ image : apacheignite/ignite:latest
33+ ports :
34+ - 10800:10802
35+ restart : always
36+ network_mode : host
Original file line number Diff line number Diff line change @@ -15,3 +15,9 @@ This directory contains the following example files:
1515For the explanation of the examples please refer to the
1616[ Examples of usage] ( https://apache-ignite-binary-protocol-client.readthedocs.io/en/latest/examples.html )
1717section of the ` pyignite ` documentation.
18+
19+ You can start Apache Ignite locally for running examples using ` docker ` and ` docker-compose `
20+ ``` bash
21+ cd ./examples
22+ docker-compose up
23+ ```
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ def run_setup(with_binary=True):
121121 'docs' : requirements ['docs' ],
122122 },
123123 license = "Apache License 2.0" ,
124+ license_files = ('LICENSE' , 'NOTICE' ),
124125 classifiers = [
125126 'Programming Language :: Python' ,
126127 'Programming Language :: Python :: 3' ,
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ async def test_new_registered_cache_affinity_async(async_client):
413413 async with create_caches_async (async_client ) as caches :
414414 key = 12
415415 test_cache = random .choice (caches )
416- test_cache .put (key , key )
416+ await test_cache .put (key , key )
417417 await wait_for_affinity_distribution_async (test_cache , key , 3 )
418418
419419 caches .append (await async_client .create_cache ('new_cache' ))
You can’t perform that action at this time.
0 commit comments