summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-09-21 09:47:29 -0400
committerGitHub <noreply@github.com>2023-09-21 09:47:29 -0400
commitc9a0e1673ac6e5553216775d2bcd28a4630cd026 (patch)
tree4b1aba1a34b07ea204dd14f918ccd99a813aabc1
parentConvert more cached return values to immutable types (#16356) (diff)
downloadsynapse-c9a0e1673ac6e5553216775d2bcd28a4630cd026.tar.xz
Add missing license header. (#16359)
-rw-r--r--changelog.d/16359.misc1
-rw-r--r--synapse/rest/models.py13
2 files changed, 14 insertions, 0 deletions
diff --git a/changelog.d/16359.misc b/changelog.d/16359.misc
new file mode 100644
index 0000000000..8752085fc6
--- /dev/null
+++ b/changelog.d/16359.misc
@@ -0,0 +1 @@
+Add missing licence header.
diff --git a/synapse/rest/models.py b/synapse/rest/models.py
index ac39cda8e5..d47de5c19e 100644
--- a/synapse/rest/models.py
+++ b/synapse/rest/models.py
@@ -1,3 +1,16 @@
+# Copyright 2022 The Matrix.org Foundation C.I.C.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 from pydantic import BaseModel, Extra