Skip to content
Snippets Groups Projects

chore(pkg): new patch release (0.2.12)

Merged Nicola Spanti requested to merge topic/0.2/version-0-2-12 into branch/0.2
All threads resolved!
Compare and Show latest version
5 files
+ 32
26
Compare changes
  • Side-by-side
  • Inline
Files
5
# copyright 2016-2023 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact https://www.logilab.fr -- mailto:contact@logilab.fr
# copyright 2016-2024 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr -- mailto:contact@logilab.fr
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
@@ -19,7 +19,10 @@
import jsl
from cubicweb.schema import META_RTYPES
from cubicweb_web.view import Component
try:
from cubicweb.view import Component # TODO remove with CubicWeb 3 support
except ModuleNotFoundError:
from cubicweb_web.view import Component
from cubicweb_jsonschema import CREATION_ROLE
@@ -199,8 +202,6 @@
component.
"""
def decorator(cls):
vreg_components = vreg['components']
builder = vreg_components.select('jsonschema.map.builder', cnx)
assert builder
builder = vreg['components'].select('jsonschema.map.builder', cnx)
return builder.document(cls, schema_role)
return decorator
Loading