Sepeth
39172d7dc4
Remove Python 2.7 support and six.py ( #11418 )
2024-10-02 21:12:51 -07:00
Syed Paymaan Raza
392bad2bd3
More copyright end year updates ( #11556 )
2024-08-05 14:00:32 -07:00
Syed Paymaan Raza
c3e7542cda
Update end year in copyright header
2024-08-02 09:40:11 -07:00
Xiaoge Su
010d070de0
Modernize the Python3 package build configuration
2024-04-22 18:44:32 -07:00
Dimitris Apostolou
a88114c222
Fix typos
2024-02-07 01:16:00 +02:00
A.J. Beamon
fef2967d62
Fix several issues found by flake8. Ignore E402, which detects when we have import statements not at the top of the file, since we have many files that use this pattern and are not easy to fix.
2023-05-02 10:06:40 -07:00
A.J. Beamon
182dc93ebd
Apply black format to most Python files, excluding a few cases where we have Python 2 files and a few files written externally. Add external files as exclusions to the precommit checks.
2023-04-28 11:46:41 -07:00
Jon Fu
30132ebac6
Expose list_blobbified_ranges for tenants in python API ( #9940 )
...
* add tenant getId api to fdbcli
* expose list_blobbified_ranges for tenants in python API
2023-04-13 13:05:37 -04:00
Vaidas Gasiunas
f7e2f0b6ce
Define latest python binding API version in one place
2023-02-27 13:12:10 +01:00
Vaidas Gasiunas
afc25035f8
Client status report API in Java and python bindings ( #9366 )
...
* get_client_status: add to Java bindings
* Add get_client_status in python binding
* Make python unit tests available as ctest
* Fix file name in the copyright header
* Fix library path name for mac
* get_client_status: Minor changes in Java & Python bindings addressing review comments
* Rename fdb_python_unit_tests to unit_tests
2023-02-15 18:00:53 +01:00
Jon Fu
4c2a09aab5
add arg and return type to the c_api for impl.py
2023-01-26 14:51:08 -08:00
Jon Fu
cb6ad92ed6
initial commit to add python and Java binding support
2023-01-10 14:19:03 -08:00
A.J. Beamon
ed9acd550e
Properly generate operations with the _TENANT suffix.
...
Add atomic op functions to the tenant object in Python.
Fix a Python tester bug for tenant operations.
Fix a build error with the binding tester package.
2022-11-30 15:30:10 -08:00
Lukas Molleman
3bf017d59a
C:/Program Files/Git/bindings/python/fdb/ Applied flake8
2022-11-09 20:43:43 +01:00
Junhyun Shim
2e51a110f2
Fix Python binding's fdb_c lookup
...
All python documentations indicate you shouldn't put prefixes like 'lib' or
suffixes like '.so', '.dll', or '.dylib' in argument to ctypes.util.find_library(),
unlike ctypes.CDLL() which demands an exact file name.
I suppose this case hasn't been tested.
2022-09-20 22:47:04 +02:00
A.J. Beamon
0c91336461
Remove unnecessary special key-space relaxed option in binding tenant management
2022-09-12 14:30:28 -07:00
A.J. Beamon
726d5215a0
Remove API 720 guards for tenants (experimental feature) and the cluster ID special keys ( #8108 )
...
* Remove API 720 guards for tenants (experimental feature) and the cluster ID special keys (no need to guard)
* Enable the relaxed special key access in transactions that need to use special key-space APIs introduced in 7.2
2022-09-08 17:22:36 +02:00
A.J. Beamon
2f67328a0c
Update the tenant special keys submodule to support multiple sub-ranges. This will enable future work that allows configuring tenants at the same time as creating them.
2022-06-30 15:03:37 -07:00
Jon Fu
ff216c2f57
add tenant list metadata to binding tester
2022-05-02 13:42:11 -04:00
Jon Fu
2afaf55a48
fixed some binding tests and split stack operation between key and value of tenant list
2022-04-29 13:16:04 -04:00
Jon Fu
9e79ff49a6
address code review comments and add more places for test code
2022-04-21 16:58:32 -04:00
Jon Fu
c683795f6b
add python bindings and revise test code
2022-04-13 14:20:24 -04:00
Aaron Molitor
5ba8b82ba6
update version to 7.2.0 -- address pr comments
2022-04-11 23:23:27 -05:00
Aaron Molitor
cbaef8f03b
update version to 7.2.0
2022-04-11 23:23:27 -05:00
A.J. Beamon
b4cfcc10d3
Move Python tenant management to its own module
2022-03-25 11:36:35 -07:00
A.J. Beamon
77ce0f4fc7
Add a unit test in Python to exercise some of the tenant code. Add some comments to the allocate and delete tenant implementations.
2022-03-23 15:50:06 -07:00
A.J. Beamon
8b92d3fccd
Use special keys to create/delete tenants
2022-03-23 14:46:56 -07:00
Jon Fu
8e848f16df
Support tuples in python tenants
2022-03-23 14:46:55 -07:00
A.J. Beamon
ce03f5783d
Add tenant support to Python
2022-03-23 14:46:55 -07:00
Ray Jenkins
9e1fd3cee5
Add comment about python thread API not necessarily setting underlying OS thread name.
2022-01-26 12:36:37 -06:00
Ray Jenkins
95d4497e2b
Add python binding network thread name.
2022-01-25 13:20:31 -06:00
Jingyu Zhou
3ce31cb347
Upgrade api version from 700 to 710
2021-05-05 21:15:00 -07:00
A.J. Beamon
4a1a55f270
Remove fdb_get_server_protocol from the Python bindings. This C function this was using recently moved and changed signature, so it no longer works in Python.
2021-04-16 13:48:44 -07:00
Richard Chen
b4ea82435c
fix typo in python
2020-12-07 00:18:22 +00:00
Richard Chen
a671aa773e
add symbol to python global symbols
2020-10-24 00:19:05 +00:00
Richard Chen
90caa24af1
add function to get correct checksum class. Remove IChecksum::checkSum function
2020-10-23 02:24:29 +00:00
Richard Chen
a4ccf8c5b6
add checksum class to change checksum in the future. expose get server protocol api
2020-10-19 16:57:11 +00:00
Xin Dong
e108f041a0
Version the behavior change of existing API so that new behavior only happen after 7.0
2020-09-16 09:43:57 -07:00
Xin Dong
acdf04ed18
Make sure Python and Ruby does null check
2020-09-15 14:09:53 -07:00
Xin Dong
13c9dc6e37
Forgot to update local variables
2020-09-11 16:57:00 -07:00
Xin Dong
0282a1745a
Address more review comments
2020-09-11 16:44:09 -07:00
Xin Dong
1b923477f7
Apply suggestions from code review
...
Co-authored-by: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-09-11 14:28:56 -07:00
Xin Dong
440630a0cb
Added bindings supports
2020-07-02 14:05:11 -07:00
Balachandar Namasivayam
a167bf344e
Update api version to 700
2020-05-28 12:16:03 -07:00
Alex Miller
ffc36dcf45
7.0 became 6.3, so change API versions accordingly
2020-05-11 11:53:34 -07:00
Alex Miller
7b87cc3f88
Merge remote-tracking branch 'upstream/release-6.3' into pyfdbgenerators
2020-05-11 11:11:10 -07:00
Dave Cottlehuber
f46d452f38
bindings:update python
2020-04-30 18:11:23 +00:00
Balachandar Namasivayam
6d570cd865
Change version from 7.0 to 6.3
2020-04-03 21:38:58 -07:00
Xin Dong
5876d694cb
Use snake case to be consistent with conventions
2020-03-24 13:26:59 -07:00
Xin Dong
2e1d03cbe7
Addressed AJ's review comments
2020-02-12 14:57:40 -08:00