Index: DamClients/DamPythonInterface/trunk/src/tests/__init__.py =================================================================== diff -u -r3470 -r3479 --- DamClients/DamPythonInterface/trunk/src/tests/__init__.py (.../__init__.py) (revision 3470) +++ DamClients/DamPythonInterface/trunk/src/tests/__init__.py (.../__init__.py) (revision 3479) @@ -1 +1,20 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. Index: DamClients/DamPythonInterface/trunk/src/dampythoninterface/surface_line.py =================================================================== diff -u -r3475 -r3479 --- DamClients/DamPythonInterface/trunk/src/dampythoninterface/surface_line.py (.../surface_line.py) (revision 3475) +++ DamClients/DamPythonInterface/trunk/src/dampythoninterface/surface_line.py (.../surface_line.py) (revision 3479) @@ -1,3 +1,25 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + from .base_class import BaseDataClass from typing import List Index: DamClients/DamPythonInterface/trunk/src/dampythoninterface/base_class.py =================================================================== diff -u -r3474 -r3479 --- DamClients/DamPythonInterface/trunk/src/dampythoninterface/base_class.py (.../base_class.py) (revision 3474) +++ DamClients/DamPythonInterface/trunk/src/dampythoninterface/base_class.py (.../base_class.py) (revision 3479) @@ -1,8 +1,30 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + from pydantic import BaseModel class BaseDataClass(BaseModel): class Config: validate_assignment = True arbitrary_types_allowed = True - validate_all = True \ No newline at end of file + validate_all = True Index: DamClients/DamPythonInterface/trunk/src/tests/test_dampythonframework.py =================================================================== diff -u -r3470 -r3479 --- DamClients/DamPythonInterface/trunk/src/tests/test_dampythonframework.py (.../test_dampythonframework.py) (revision 3470) +++ DamClients/DamPythonInterface/trunk/src/tests/test_dampythonframework.py (.../test_dampythonframework.py) (revision 3479) @@ -1,7 +1,30 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + from dampythoninterface import __version__ import pytest + @pytest.mark.acceptance def test_version(): assert __version__ == "0.1.0" Index: DamClients/DamPythonInterface/trunk/src/dampythoninterface/input.py =================================================================== diff -u -r3475 -r3479 --- DamClients/DamPythonInterface/trunk/src/dampythoninterface/input.py (.../input.py) (revision 3475) +++ DamClients/DamPythonInterface/trunk/src/dampythoninterface/input.py (.../input.py) (revision 3479) @@ -1,3 +1,25 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + from typing import List from pathlib import Path import lxml.etree as et Index: DamClients/DamPythonInterface/trunk/src/dampythoninterface/__init__.py =================================================================== diff -u -r3470 -r3479 --- DamClients/DamPythonInterface/trunk/src/dampythoninterface/__init__.py (.../__init__.py) (revision 3470) +++ DamClients/DamPythonInterface/trunk/src/dampythoninterface/__init__.py (.../__init__.py) (revision 3479) @@ -1 +1,23 @@ -__version__ = "0.1.0" \ No newline at end of file +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + +__version__ = "0.1.0" Index: DamClients/DamPythonInterface/trunk/src/tests/test_surface_line.py =================================================================== diff -u -r3474 -r3479 --- DamClients/DamPythonInterface/trunk/src/tests/test_surface_line.py (.../test_surface_line.py) (revision 3474) +++ DamClients/DamPythonInterface/trunk/src/tests/test_surface_line.py (.../test_surface_line.py) (revision 3479) @@ -1,3 +1,25 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + from typing import List from dampythoninterface.surface_line import Point, PointTypeEnum, SurfaceLine from .utils import TestUtils Index: DamClients/DamPythonInterface/trunk/src/tests/utils.py =================================================================== diff -u -r3470 -r3479 --- DamClients/DamPythonInterface/trunk/src/tests/utils.py (.../utils.py) (revision 3470) +++ DamClients/DamPythonInterface/trunk/src/tests/utils.py (.../utils.py) (revision 3479) @@ -1,3 +1,25 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + import os import sys from pathlib import Path Index: DamClients/DamPythonInterface/trunk/src/tests/test_input.py =================================================================== diff -u -r3474 -r3479 --- DamClients/DamPythonInterface/trunk/src/tests/test_input.py (.../test_input.py) (revision 3474) +++ DamClients/DamPythonInterface/trunk/src/tests/test_input.py (.../test_input.py) (revision 3479) @@ -1,3 +1,25 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + import pytest from pathlib import Path from lxml import etree Index: DamClients/DamPythonInterface/trunk/doc/source/conf.py =================================================================== diff -u -r3476 -r3479 --- DamClients/DamPythonInterface/trunk/doc/source/conf.py (.../conf.py) (revision 3476) +++ DamClients/DamPythonInterface/trunk/doc/source/conf.py (.../conf.py) (revision 3479) @@ -1,3 +1,25 @@ +# Copyright (C) Stichting Deltares 2021. All rights reserved. +# +# This file is part of the Dam Python Interface. +# +# The Dam Python Interface is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# All names, logos, and references to "Deltares" are registered trademarks of +# Stichting Deltares and remain full property of Stichting Deltares at all times. +# All rights reserved. + + # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full