Skip to content

Commit

Permalink
chore: normalize copyrights (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler authored Feb 5, 2025
1 parent 1ddf473 commit 15afa71
Show file tree
Hide file tree
Showing 23 changed files with 47 additions and 299 deletions.
15 changes: 2 additions & 13 deletions pydgraph/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

from pydgraph.client import *
from pydgraph.client_stub import *
Expand Down
15 changes: 2 additions & 13 deletions pydgraph/client.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Dgraph python client."""

Expand Down
15 changes: 2 additions & 13 deletions pydgraph/client_stub.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Stub for RPC request."""

Expand Down
15 changes: 2 additions & 13 deletions pydgraph/convert.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Functions to transform data."""

Expand Down
15 changes: 2 additions & 13 deletions pydgraph/errors.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Errors thrown by the Dgraph client."""

Expand Down
15 changes: 2 additions & 13 deletions pydgraph/meta.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Metadata about this package."""

Expand Down
15 changes: 2 additions & 13 deletions pydgraph/proto/api.proto
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
/*
* Copyright (C) 2023 Dgraph Labs, Inc. and Contributors
*
* 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.
* SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
* SPDX-License-Identifier: Apache-2.0
*/

// Style guide for Protocol Buffer 3.
Expand Down
15 changes: 2 additions & 13 deletions pydgraph/txn.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Dgraph atomic transaction support."""

Expand Down
15 changes: 2 additions & 13 deletions pydgraph/util.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Various utility functions."""

Expand Down
16 changes: 3 additions & 13 deletions scripts/protogen.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Runs protoc with the gRPC plugin to generate messages and gRPC stubs."""

import os
Expand Down
15 changes: 2 additions & 13 deletions tests/helper.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Utilities used by tests."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_acct_upsert.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests to verify upsert directive."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_acl.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests to verify ACL."""
import subprocess
Expand Down
15 changes: 2 additions & 13 deletions tests/test_async.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests to verify async client methods."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests construction of Dgraph client."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_client_stub.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests client stub."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_convert.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests conversion functions."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_essentials.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests mutation after query behavior."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_queries.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

"""Tests behavior of queries after mutation in the same transaction."""

Expand Down
15 changes: 2 additions & 13 deletions tests/test_txn.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# Copyright 2023 Dgraph Labs, Inc.
#
# 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.
# SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
# SPDX-License-Identifier: Apache-2.0

__author__ = "Garvit Pahal"
__maintainer__ = "Dgraph Labs <[email protected]>"
Expand Down
Loading

0 comments on commit 15afa71

Please sign in to comment.