Agraph-python

Latest version: v104.1.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 6

6.2.2.0.4

Not secure
=================

bug24728: Incorrect conversion between boolean literals and Python values
-------------------------------------------------------------------------

The booleanValue() method of the Literal class used to work
incorrectly. It would return True for any literal that is not empty,
including the "false"^^xsd:boolean literal. This has been corrected -
the function will now return expected values for literals of type
xsd:boolean. Result for other types remains undefined.

6.2.2.0.1

Not secure
=================

bug24680: to_native_string is broken on Python 2
------------------------------------------------

The Python client sometimes failed while processing values with
non-ascii characters, showing the following error message:

UnicodeEncodeError: 'ascii' codec can't encode characters in position ??: ordinal not in range(128)

This has been corrected.

6.2.2.0.0

=================

Released with AllegroGraph 6.2.2. Change log for this and all previous
Python client releases can be found in AllegroGraph release notes:
https://franz.com/agraph/support/documentation/current/release-notes.html

2.25.0

---------------------------------------------

Change required version of `requests` from 2.23.0 to 2.25.0
This fixes an issue in agraph-python when used on Python 3.10 or 3.11

1.25.8

=========== ===================== ==============

1.24.2

=========== ===================== ==============

Multiple-namespace URI factory object
-------------------------------------

Added new method ``ValueFactory.namespaces()`` that takes a dictionary of the
form `{<prefix>: <namespace>, ...}` and returns a factory object that allows to
create URIs from the strings of the form `<prefix>:<name>`, dispatching the
prefix to corresponding namespace:

>>> prefixes = {'': 'http://this.org#', 'ex': 'http://example.org#'}
>>> nss = conn.getValueFactory().namespaces(prefixes)
>>> nss[':resource']
<http://this.org#resource>
>>> nss('ex:resource')
<http://example.org#resource>

Page 6 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.