Skip to content
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
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit [Contributor License Agreements](https://cla.opensource.microsoft.com).

When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,17 +348,7 @@ VS Code Tasks

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit [Contributor License Agreements](https://cla.opensource.microsoft.com).

When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.

## Trademarks

Expand Down
3 changes: 3 additions & 0 deletions examples/quickstart.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import sys
from pathlib import Path
import os
Expand Down
3 changes: 3 additions & 0 deletions examples/quickstart_file_upload.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import sys
from pathlib import Path
import os
Expand Down
3 changes: 3 additions & 0 deletions examples/quickstart_pandas.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import sys
from pathlib import Path
import os
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

"""
Microsoft Dataverse SDK for Python.

Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

"""Version information for dataverse-client-python package."""

__version__ = "0.1.0"
3 changes: 3 additions & 0 deletions src/dataverse_sdk/auth.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

from __future__ import annotations

from dataclasses import dataclass
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

from __future__ import annotations

from typing import Any, Dict, Optional, Union, List, Iterable
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

from __future__ import annotations

from dataclasses import dataclass
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/error_codes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

# HTTP subcode constants
HTTP_400 = "http_400"
HTTP_401 = "http_401"
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

from __future__ import annotations
from typing import Any, Dict, Optional
import datetime as _dt
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/http.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

from __future__ import annotations

import time
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/odata.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

from __future__ import annotations

from typing import Any, Dict, Optional, List, Union, Iterable
Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/odata_pandas_wrappers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

"""
Pandas-friendly wrappers for Dataverse OData operations.

Expand Down
3 changes: 3 additions & 0 deletions src/dataverse_sdk/odata_upload_files.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

"""File upload helpers separated from core OData client.

Provide a mixin class `ODataFileUploadMixin` so these methods can be reused without
Expand Down
3 changes: 3 additions & 0 deletions tests/test_enum_optionset_payload.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import pytest
from enum import Enum, IntEnum

Expand Down
3 changes: 3 additions & 0 deletions tests/test_http_errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import pytest
from dataverse_sdk.errors import HttpError
from dataverse_sdk import error_codes as ec
Expand Down
3 changes: 3 additions & 0 deletions tests/test_logical_crud.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import types
import pytest
from dataverse_sdk.odata import ODataClient
Expand Down
3 changes: 3 additions & 0 deletions tests/test_sql_parse.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import pytest
from dataverse_sdk.odata import ODataClient

Expand Down
Loading