You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/03/11 15:21:39 UTC

[streampipes] 01/04: fix: provide proper GitHub address

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch chore/python-doc-improvements
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit c2b2cb42996464a99ae2ff5c0d655a7dc6b9ab3f
Author: bossenti <bo...@posteo.de>
AuthorDate: Sat Mar 11 16:02:09 2023 +0100

    fix: provide proper GitHub address
    
    Signed-off-by: bossenti <bo...@posteo.de>
---
 streampipes-client-python/streampipes/client/credential_provider.py   | 3 +--
 .../streampipes/endpoint/api/data_lake_measure.py                     | 4 ++--
 streampipes-client-python/streampipes/endpoint/endpoint.py            | 2 +-
 .../streampipes/model/container/resource_container.py                 | 4 ++--
 4 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/streampipes-client-python/streampipes/client/credential_provider.py b/streampipes-client-python/streampipes/client/credential_provider.py
index c94acc02f..015e192f8 100644
--- a/streampipes-client-python/streampipes/client/credential_provider.py
+++ b/streampipes-client-python/streampipes/client/credential_provider.py
@@ -89,8 +89,7 @@ class StreamPipesApiKeyCredentials(CredentialProvider):
 
     References
     ----------
-    [^1]: [StreamPipes Python Client README]
-    (https://github.com/apache/streampipes/blob/dev/streampipes-client-python/README.md#%EF%B8%8F-quickstart)
+    [^1]: [StreamPipes Python Client README](https://streampipes.apache.org/docs/docs/python/latest/)
     """
 
     @classmethod
diff --git a/streampipes-client-python/streampipes/endpoint/api/data_lake_measure.py b/streampipes-client-python/streampipes/endpoint/api/data_lake_measure.py
index a5975b277..5f8929314 100644
--- a/streampipes-client-python/streampipes/endpoint/api/data_lake_measure.py
+++ b/streampipes-client-python/streampipes/endpoint/api/data_lake_measure.py
@@ -127,7 +127,7 @@ class MeasurementGetQueryConfig(BaseModel):
                 "Your datetime object is off, it could not be parsed"
                 "This should not occur, but unfortunately did.\n"
                 "Therefore, it would be great if you could report this problem as an issue at "
-                "github.com/apache/streampipes.\n"
+                "https://github.com/apache/streampipes.\n"
             ) from ve
 
     def build_query_string(self) -> str:
@@ -250,7 +250,7 @@ class DataLakeMeasureEndpoint(APIEndpoint):
                 f"Some of them are not provided as expected. Please see the detailed output below:\n\n"
                 f"Validation error log: {ve.json()}\n\n"
                 f"In case you assess your query configuration to be correct feel free to file us an issue via "
-                f"github.com/apache/streampipes.\n"
+                f"https://github.com/apache/streampipes.\n"
                 f"Please don't forget to include the following validation log from above."
             )
 
diff --git a/streampipes-client-python/streampipes/endpoint/endpoint.py b/streampipes-client-python/streampipes/endpoint/endpoint.py
index cfc6b7381..780a68f42 100644
--- a/streampipes-client-python/streampipes/endpoint/endpoint.py
+++ b/streampipes-client-python/streampipes/endpoint/endpoint.py
@@ -54,7 +54,7 @@ _error_code_to_message = {
         "\nOops, there seems to be an issue with the Python Client calling the API inappropriately.\n"
         "This should not happen, but unfortunately did.\n"
         "If you don't mind, it would be awesome to let us know by creating an issue"
-        " at github.com/apache/streampipes.\n"
+        " at https://github.com/apache/streampipes.\n"
         "Please paste the following information to the issue description:\n\n",
     ),
 }
diff --git a/streampipes-client-python/streampipes/model/container/resource_container.py b/streampipes-client-python/streampipes/model/container/resource_container.py
index 3bfcddcb8..331caeda9 100644
--- a/streampipes-client-python/streampipes/model/container/resource_container.py
+++ b/streampipes-client-python/streampipes/model/container/resource_container.py
@@ -67,7 +67,7 @@ class StreamPipesDataModelError(Exception):
             f"\nOops, there seems to be a problem with our internal StreamPipes data model.\n"
             f"This should not occur, but unfortunately did.\n"
             f"Therefore, it would be great if you could report this problem as an issue at "
-            f"github.com/apache/streampipes.\n"
+            f"https://github.com/apache/streampipes.\n"
             f"Please don't forget to include the following information:\n\n"
             f"Affected Model class: {str(self.validation_error.model)}\n"
             f"Validation error log: {self.validation_error.json()}"
@@ -107,7 +107,7 @@ class StreamPipesResourceContainerJSONError(Exception):
             f"\nOops, there seems to be a problem when parsing the response of the StreamPipes API."
             f"This should not occur, but unfortunately did.\n"
             f"Therefore, it would be great if you could report this problem as an issue at "
-            f"github.com/apache/streampipes.\n"
+            f"https://github.com/apache/streampipes.\n"
             f"Please don't forget to include the following information:\n\n"
             f"Affected container class: {str(self.container_name)}\n"
             f"JSON string: {self.json_string}"