drb 2.4.1__tar.gz → 2.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {drb-2.4.1/drb.egg-info → drb-2.4.2}/PKG-INFO +1 -1
- {drb-2.4.1 → drb-2.4.2}/drb/core/_version.py +3 -3
- {drb-2.4.1 → drb-2.4.2}/drb/topics/file/cortex.ttl +1 -0
- {drb-2.4.1 → drb-2.4.2/drb.egg-info}/PKG-INFO +1 -1
- {drb-2.4.1 → drb-2.4.2}/tests/test_core_topic_ttl.py +8 -0
- {drb-2.4.1 → drb-2.4.2}/LICENCE.txt +0 -0
- {drb-2.4.1 → drb-2.4.2}/MANIFEST.in +0 -0
- {drb-2.4.1 → drb-2.4.2}/README.md +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/addons/addon.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/context.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/cortex_validator.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/events.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/factory.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/impls.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/item.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/path.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/predicate.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/core/signature.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/drivers/file/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/drivers/file/cortex.ttl +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/drivers/file/file.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/drivers/xml/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/drivers/xml/cortex.ttl +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/drivers/xml/factory.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/drivers/xml/node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/exceptions/core.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/exceptions/file.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/keyring/bitwarden/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/keyring/bitwarden/bitwarden.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/nodes/abstract_node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/nodes/logical_node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/nodes/mutable_node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/nodes/url_node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/signatures/core.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/signatures/hierarchy.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/signatures/xquery.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/dao/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/dao/manager_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/dao/rdf_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/dao/topic_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/dao/topic_schema.yml +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/dao/xml_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/file/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/resolver.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/topic.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/xml/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/topics/xml/cortex.ttl +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/utils/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/utils/drb_python_script.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/utils/plugins.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/utils/url_security.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/utils/utils.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/XQueryLexer.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/XQueryParser.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/XQueryParserListener.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/XQueryParserVisitor.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/__init__.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_cmd.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_context.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_func.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_item.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_res_to_string.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_utils.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_variable.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/drb_xquery_visitor.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb/xquery/exceptions.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb.egg-info/SOURCES.txt +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb.egg-info/dependency_links.txt +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb.egg-info/entry_points.txt +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb.egg-info/not-zip-safe +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb.egg-info/requires.txt +0 -0
- {drb-2.4.1 → drb-2.4.2}/drb.egg-info/top_level.txt +0 -0
- {drb-2.4.1 → drb-2.4.2}/pyproject.toml +0 -0
- {drb-2.4.1 → drb-2.4.2}/requirements.txt +0 -0
- {drb-2.4.1 → drb-2.4.2}/setup.cfg +0 -0
- {drb-2.4.1 → drb-2.4.2}/setup.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_abstract_node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_addon.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_children_unresolved.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_cortex_validator.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_drb_node_list.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_drb_python_script.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_event.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_factory.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_factory_resolver.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_implementation_coupling.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_implementation_manager.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_keyring_bitwarden.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_logical_node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_manager_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_manager_get_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_node_context.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_node_descendant.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_path.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_protocol_dispatch.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_rdf_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_rdf_dao_multi_url.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_rdf_dao_scheme.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_rdf_dao_signatures.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_scheme_force_impl.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_signature_exact.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_signature_hierarchy.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_signatures.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_topic.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_topic_descriptor_discovery.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_url_node.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_url_security.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/tests/test_xml_dao.py +0 -0
- {drb-2.4.1 → drb-2.4.2}/versioneer.py +0 -0
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2026-06-
|
|
11
|
+
"date": "2026-06-26T17:44:46+0000",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2.4.
|
|
14
|
+
"full-revisionid": "d6abeea9ba11991cf33d5cc12fc33405c6032658",
|
|
15
|
+
"version": "2.4.2"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -8,5 +8,6 @@ drb:file
|
|
|
8
8
|
drb:category "PROTOCOL" ;
|
|
9
9
|
rdfs:subClassOf drb:item ;
|
|
10
10
|
rdfs:label "file" ;
|
|
11
|
+
drb:scheme "file" ;
|
|
11
12
|
drb:signature [ drb:pythonTest "return node.path.scheme is None or '' == node.path.scheme or 'file' == node.path.scheme" ] ;
|
|
12
13
|
drb:implementationIdentifier "file" .
|
|
@@ -40,3 +40,11 @@ class TestCoreTopicTtl(unittest.TestCase):
|
|
|
40
40
|
self.assertTrue(any(s.matches(_Node(scheme='')) for s in sigs))
|
|
41
41
|
self.assertTrue(any(s.matches(_Node(scheme=None)) for s in sigs))
|
|
42
42
|
self.assertFalse(any(s.matches(_Node(scheme='http')) for s in sigs))
|
|
43
|
+
|
|
44
|
+
def test_file_topic_declares_file_scheme(self):
|
|
45
|
+
# drb:scheme "file" makes 'file' a routable base scheme for the
|
|
46
|
+
# dispatcher, enabling forced drivers such as ``file+zip://`` on
|
|
47
|
+
# paths whose extension does not match the container signature.
|
|
48
|
+
dao = RDFDao(_FILE_TTL)
|
|
49
|
+
topic = next(t for t in dao.read_all() if t.label == 'file')
|
|
50
|
+
self.assertEqual(['file'], topic.scheme)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{drb-2.4.1 → drb-2.4.2}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|