Skip to content

Commit

Permalink
chore: apply license headers to all the source files (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
feng-tao authored Jul 16, 2020
1 parent 7ea1e5e commit 14d02a9
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 0 deletions.
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

0 comments on commit 14d02a9

Please sign in to comment.