aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/schema
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-03-02 16:40:00 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-03-02 16:40:00 +0100
commit28a021483c13e974e00b6159f0653b0727df9d10 (patch)
treee5aa55337a5b2e5c5e34b7892a0cbe0997eb0da8 /bsfs/schema
parentb66ed641d5cbb4cb83f4a571223e4d65d80ed05c (diff)
downloadbsfs-28a021483c13e974e00b6159f0653b0727df9d10.tar.gz
bsfs-28a021483c13e974e00b6159f0653b0727df9d10.tar.bz2
bsfs-28a021483c13e974e00b6159f0653b0727df9d10.zip
prohibit certain characters in URI and ensure URIs in bsfs.graph
Diffstat (limited to 'bsfs/schema')
-rw-r--r--bsfs/schema/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsfs/schema/types.py b/bsfs/schema/types.py
index 54adffb..104580d 100644
--- a/bsfs/schema/types.py
+++ b/bsfs/schema/types.py
@@ -98,7 +98,7 @@ class _Type():
parent: typing.Optional['_Type'] = None,
**annotations: typing.Any,
):
- self.uri = uri
+ self.uri = URI(uri)
self.parent = parent
self.annotations = annotations