summary refs log tree commit diff
path: root/synapse
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 /synapse
parentConvert more cached return values to immutable types (#16356) (diff)
downloadsynapse-c9a0e1673ac6e5553216775d2bcd28a4630cd026.tar.xz
Add missing license header. (#16359)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/models.py13
1 files changed, 13 insertions, 0 deletions
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