Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: apply license headers to all the source files #41

Merged
merged 1 commit into from
Jul 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions amundsen_common/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

3 changes: 3 additions & 0 deletions amundsen_common/log/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

3 changes: 3 additions & 0 deletions amundsen_common/log/action_log.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

import functools

import json
Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/log/action_log_callback.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

"""
An Action Logger module. Singleton pattern has been applied into this module
so that registered callbacks can be used all through the same python process.
Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/log/action_log_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from typing import Any, Optional


Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/log/auth_caller_retrieval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

import getpass

from flask import current_app as flask_app
Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/log/caller_retrieval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from abc import ABCMeta, abstractmethod


Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/log/http_header_caller_retrieval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from flask import current_app as flask_app
from flask import request

Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

3 changes: 3 additions & 0 deletions amundsen_common/models/dashboard.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from typing import Optional

import attr
Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/models/index_map.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

import textwrap

# Specifying default mapping for elasticsearch index
Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/models/popular_table.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from typing import Optional

import attr
Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/models/table.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from typing import List, Optional

import attr
Expand Down
3 changes: 3 additions & 0 deletions amundsen_common/models/user.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from typing import Optional, Dict

import attr
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from setuptools import setup, find_packages

setup(
Expand Down
3 changes: 3 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

3 changes: 3 additions & 0 deletions tests/unit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

3 changes: 3 additions & 0 deletions tests/unit/log/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

3 changes: 3 additions & 0 deletions tests/unit/log/test_action_log.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

import socket
import unittest
from contextlib import contextmanager
Expand Down
3 changes: 3 additions & 0 deletions tests/unit/log/test_http_header_caller_retrieval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

import unittest

import flask
Expand Down