-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6c5d41
commit 90dc92e
Showing
12 changed files
with
1,339 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Publish Python 🐍 distribution 📦 to PyPI | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
name: Build distribution 📦 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
- name: Install pypa/build | ||
run: >- | ||
python3 -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: python3 -m build | ||
- name: Store the distribution packages | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
publish-to-pypi: | ||
name: >- | ||
Publish Python 🐍 distribution 📦 to PyPI | ||
needs: | ||
- build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/kes-RHDHV | ||
permissions: | ||
id-token: write | ||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
name = kes-RHDHV | ||
version = 1.dev10 | ||
version = 1.dev12 | ||
author = RoyalHaskoningDHV | ||
author_email = [email protected] | ||
description = KES python client | ||
|
Empty file.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
""" | ||
@generated by mypy-protobuf. Do not edit manually! | ||
isort:skip_file | ||
""" | ||
import builtins | ||
import google.protobuf.descriptor | ||
import google.protobuf.internal.containers | ||
import google.protobuf.message | ||
import typing | ||
import typing_extensions | ||
|
||
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor | ||
|
||
class ListProjectsRequest(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
def __init__(self, | ||
) -> None: ... | ||
global___ListProjectsRequest = ListProjectsRequest | ||
|
||
class ListProjectsReply(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
PROJECTS_FIELD_NUMBER: builtins.int | ||
@property | ||
def projects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Project]: ... | ||
def __init__(self, | ||
*, | ||
projects: typing.Optional[typing.Iterable[global___Project]] = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["projects",b"projects"]) -> None: ... | ||
global___ListProjectsReply = ListProjectsReply | ||
|
||
class LookupProjectRequest(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
MASTERPROJECTID_FIELD_NUMBER: builtins.int | ||
masterProjectId: typing.Text | ||
def __init__(self, | ||
*, | ||
masterProjectId: typing.Text = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["masterProjectId",b"masterProjectId"]) -> None: ... | ||
global___LookupProjectRequest = LookupProjectRequest | ||
|
||
class LookupProjectReply(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
PROJECTS_FIELD_NUMBER: builtins.int | ||
@property | ||
def projects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Project]: ... | ||
def __init__(self, | ||
*, | ||
projects: typing.Optional[typing.Iterable[global___Project]] = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["projects",b"projects"]) -> None: ... | ||
global___LookupProjectReply = LookupProjectReply | ||
|
||
class ReadActivitiesRequest(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
PROJECTID_FIELD_NUMBER: builtins.int | ||
projectId: typing.Text | ||
def __init__(self, | ||
*, | ||
projectId: typing.Text = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["projectId",b"projectId"]) -> None: ... | ||
global___ReadActivitiesRequest = ReadActivitiesRequest | ||
|
||
class ReadActivitiesReply(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
ACTIVITIES_FIELD_NUMBER: builtins.int | ||
@property | ||
def activities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Activity]: ... | ||
def __init__(self, | ||
*, | ||
activities: typing.Optional[typing.Iterable[global___Activity]] = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["activities",b"activities"]) -> None: ... | ||
global___ReadActivitiesReply = ReadActivitiesReply | ||
|
||
class Activity(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
ID_FIELD_NUMBER: builtins.int | ||
DESCRIPTION_FIELD_NUMBER: builtins.int | ||
TABLELIBRARYID_FIELD_NUMBER: builtins.int | ||
id: typing.Text | ||
description: typing.Text | ||
tableLibraryId: typing.Text | ||
def __init__(self, | ||
*, | ||
id: typing.Text = ..., | ||
description: typing.Text = ..., | ||
tableLibraryId: typing.Text = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["description",b"description","id",b"id","tableLibraryId",b"tableLibraryId"]) -> None: ... | ||
global___Activity = Activity | ||
|
||
class Project(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
ID_FIELD_NUMBER: builtins.int | ||
NAME_FIELD_NUMBER: builtins.int | ||
PROJECTNUMBER_FIELD_NUMBER: builtins.int | ||
MASTERPROJECTID_FIELD_NUMBER: builtins.int | ||
id: typing.Text | ||
name: typing.Text | ||
projectNumber: typing.Text | ||
masterProjectId: typing.Text | ||
def __init__(self, | ||
*, | ||
id: typing.Text = ..., | ||
name: typing.Text = ..., | ||
projectNumber: typing.Text = ..., | ||
masterProjectId: typing.Text = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["id",b"id","masterProjectId",b"masterProjectId","name",b"name","projectNumber",b"projectNumber"]) -> None: ... | ||
global___Project = Project | ||
|
||
class DownloadReportRequest(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
ACTIVITYID_FIELD_NUMBER: builtins.int | ||
activityId: typing.Text | ||
def __init__(self, | ||
*, | ||
activityId: typing.Text = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["activityId",b"activityId"]) -> None: ... | ||
global___DownloadReportRequest = DownloadReportRequest | ||
|
||
class DownloadReportReply(google.protobuf.message.Message): | ||
DESCRIPTOR: google.protobuf.descriptor.Descriptor | ||
CHUNK_FIELD_NUMBER: builtins.int | ||
chunk: builtins.bytes | ||
def __init__(self, | ||
*, | ||
chunk: builtins.bytes = ..., | ||
) -> None: ... | ||
def ClearField(self, field_name: typing_extensions.Literal["chunk",b"chunk"]) -> None: ... | ||
global___DownloadReportReply = DownloadReportReply |
Oops, something went wrong.