summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-06-04 12:42:46 +0200
committertmartins <thigm85@gmail.com>2020-06-04 12:42:46 +0200
commitb18cfcd982271fed13438848cdc94262e4555a0c (patch)
treefe822a1d4eae533ceb3dfb9f902522d143fe3f42 /python
parentdb6a289f4474c922b86fa6b785265f7eef0a1443 (diff)
add copyright headers
Diffstat (limited to 'python')
-rw-r--r--python/vespa/vespa/__init__.py2
-rw-r--r--python/vespa/vespa/application.py2
-rw-r--r--python/vespa/vespa/evaluation.py2
-rw-r--r--python/vespa/vespa/query.py2
-rw-r--r--python/vespa/vespa/test_application.py2
-rw-r--r--python/vespa/vespa/test_evaluation.py2
-rw-r--r--python/vespa/vespa/test_query.py2
7 files changed, 14 insertions, 0 deletions
diff --git a/python/vespa/vespa/__init__.py b/python/vespa/vespa/__init__.py
index f102a9cadfa..b506a040722 100644
--- a/python/vespa/vespa/__init__.py
+++ b/python/vespa/vespa/__init__.py
@@ -1 +1,3 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
__version__ = "0.0.1"
diff --git a/python/vespa/vespa/application.py b/python/vespa/vespa/application.py
index cf07617ca3b..d875998f4d0 100644
--- a/python/vespa/vespa/application.py
+++ b/python/vespa/vespa/application.py
@@ -1,3 +1,5 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
from typing import Optional, Dict, Tuple, List
from requests import post
from pandas import DataFrame
diff --git a/python/vespa/vespa/evaluation.py b/python/vespa/vespa/evaluation.py
index b19a0cd8fcc..98365640fb3 100644
--- a/python/vespa/vespa/evaluation.py
+++ b/python/vespa/vespa/evaluation.py
@@ -1,3 +1,5 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
from typing import Dict, List
# todo: When creating a VespaResult class use getters with appropriate defaults to avoid the try clauses here.
diff --git a/python/vespa/vespa/query.py b/python/vespa/vespa/query.py
index 6ccda500146..f78c8a23380 100644
--- a/python/vespa/vespa/query.py
+++ b/python/vespa/vespa/query.py
@@ -1,3 +1,5 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
from typing import Callable, List, Optional, Dict
diff --git a/python/vespa/vespa/test_application.py b/python/vespa/vespa/test_application.py
index 7e5402340e3..57d7d784bde 100644
--- a/python/vespa/vespa/test_application.py
+++ b/python/vespa/vespa/test_application.py
@@ -1,3 +1,5 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
import unittest
from unittest.mock import Mock, call
from pandas import DataFrame
diff --git a/python/vespa/vespa/test_evaluation.py b/python/vespa/vespa/test_evaluation.py
index 3f5d6f72583..5fa29eb3907 100644
--- a/python/vespa/vespa/test_evaluation.py
+++ b/python/vespa/vespa/test_evaluation.py
@@ -1,3 +1,5 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
import unittest
from vespa.evaluation import MatchRatio, Recall, ReciprocalRank
diff --git a/python/vespa/vespa/test_query.py b/python/vespa/vespa/test_query.py
index 0749be05260..1e933f25c7d 100644
--- a/python/vespa/vespa/test_query.py
+++ b/python/vespa/vespa/test_query.py
@@ -1,3 +1,5 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
import unittest
from vespa.query import Query, OR, AND, WeakAnd, ANN, Union, RankProfile, VespaResult