diff --git a/pygeofilter/backends/oraclesql/__init__.py b/pygeofilter/backends/oraclesql/__init__.py index 6dd24d9..6008561 100644 --- a/pygeofilter/backends/oraclesql/__init__.py +++ b/pygeofilter/backends/oraclesql/__init__.py @@ -1,3 +1,31 @@ +# ------------------------------------------------------------------------------ +# +# Project: pygeofilter +# Authors: Andreas Kosubek +# Bernhard Mallinger +# ------------------------------------------------------------------------------ +# Copyright (C) 2024 EOX IT Services GmbH +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies of this Software or works derived from this Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +# ------------------------------------------------------------------------------ + + from .evaluate import to_sql_where, to_sql_where_with_bind_variables __all__ = ["to_sql_where", "to_sql_where_with_bind_variables"] diff --git a/pygeofilter/backends/oraclesql/evaluate.py b/pygeofilter/backends/oraclesql/evaluate.py index ad2a42f..4562998 100644 --- a/pygeofilter/backends/oraclesql/evaluate.py +++ b/pygeofilter/backends/oraclesql/evaluate.py @@ -2,9 +2,11 @@ # # Project: pygeofilter # Authors: Andreas Kosubek +# Bernhard Mallinger # # ------------------------------------------------------------------------------ # Copyright (C) 2023 Agrar Markt Austria +# Copyright (C) 2024 EOX IT Services GmbH # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/tests/backends/oraclesql/test_evaluate.py b/tests/backends/oraclesql/test_evaluate.py index f8ed4ec..f8159ca 100644 --- a/tests/backends/oraclesql/test_evaluate.py +++ b/tests/backends/oraclesql/test_evaluate.py @@ -1,3 +1,32 @@ +# ------------------------------------------------------------------------------ +# +# Project: pygeofilter +# Authors: Andreas Kosubek +# Bernhard Mallinger +# ------------------------------------------------------------------------------ +# Copyright (C) 2023 Agrar Markt Austria +# Copyright (C) 2024 EOX IT Services GmbH +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies of this Software or works derived from this Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +# ------------------------------------------------------------------------------ + + from pygeofilter.backends.oraclesql import ( to_sql_where, to_sql_where_with_bind_variables,