Skip to content
Open
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
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ codegen:
find codegen/out/aignx/codegen/models/ -name "[a-z]*.py" -type f | sed 's|.*/\(.*\)\.py|\1|' | xargs -I{} echo "from .{} import *" > codegen/out/aignx/codegen/models/__init__.py
# fix resource patch
# in codegen/out/public_api.py replace all occurrences of resource_path='/v1 with resource_path='/api/v1
sed -i '' "s|resource_path='/v1|resource_path='/api/v1|g" codegen/out/aignx/codegen/api/public_api.py
# Use portable sed syntax: -i'' works on both macOS and Linux
sed -i"" "s|resource_path='/v1|resource_path='/api/v1|g" codegen/out/aignx/codegen/api/public_api.py
Comment on lines +179 to +180
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated improvement: The portable sed syntax fix (-i"" vs -i '') is a good improvement but should be in a separate commit:

git commit -m "fix(codegen): use portable sed syntax for macOS and Linux compatibility"

Context: The -i '' syntax only works on macOS, while -i"" works on both macOS and Linux. This is a legitimate cross-platform fix but belongs in its own commit per single-responsibility principle.

Copy link
Collaborator Author

@neelay-aign neelay-aign Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Command was failing on Linux. Claude says this should now work on both Mac and Linux.


# Special rule to catch any arguments (like patch, minor, major, pdf, Python versions, or x.y.z)
# This prevents "No rule to make target" errors when passing arguments to make commands
Expand Down
2,766 changes: 2,766 additions & 0 deletions codegen/in/archive/openapi_1.0.0-ga.json

Large diffs are not rendered by default.

133 changes: 112 additions & 21 deletions codegen/in/openapi.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions codegen/out/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ aignx/codegen/models/artifact_output.py
aignx/codegen/models/artifact_state.py
aignx/codegen/models/artifact_termination_reason.py
aignx/codegen/models/custom_metadata_update_request.py
aignx/codegen/models/custom_metadata_update_response.py
aignx/codegen/models/http_validation_error.py
aignx/codegen/models/input_artifact.py
aignx/codegen/models/input_artifact_creation_request.py
Expand Down
140 changes: 81 additions & 59 deletions codegen/out/aignx/codegen/api/public_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codegen/out/aignx/codegen/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.

The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
4 changes: 2 additions & 2 deletions codegen/out/aignx/codegen/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.

The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -502,7 +502,7 @@ def to_debug_report(self) -> str:
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0.0.beta7\n"\
"Version of the API: 1.0.0-ga\n"\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)

Expand Down
2 changes: 1 addition & 1 deletion codegen/out/aignx/codegen/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.
The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
51 changes: 26 additions & 25 deletions codegen/out/aignx/codegen/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
from .item_result_read_response import *
from .run_output import *
from .artifact_state import *
from .validation_error_loc_inner import *
from .run_state import *
from .item_output import *
from .run_creation_response import *
from .output_artifact_visibility import *
from .organization_read_response import *
from .me_read_response import *
from .run_item_statistics import *
from .validation_error import *
from .application_read_response import *
from .application_read_short_response import *
from .output_artifact_result_read_response import *
from .version_read_response import *
from .item_output import *
from .run_termination_reason import *
from .run_creation_response import *
from .output_artifact_scope import *
from .me_read_response import *
from .run_output import *
from .item_result_read_response import *
from .application_version import *
from .run_read_response import *
from .run_state import *
from .input_artifact_creation_request import *
from .item_creation_request import *
from .custom_metadata_update_response import *
from .input_artifact import *
from .custom_metadata_update_request import *
from .item_state import *
from .auth0_organization import *
from .application_version import *
from .http_validation_error import *
from .artifact_state import *
from .application_read_short_response import *
from .output_artifact import *
from .user_read_response import *
from .run_termination_reason import *
from .input_artifact import *
from .output_artifact_result_read_response import *
from .version_read_response import *
from .item_termination_reason import *
from .artifact_output import *
from .auth0_organization import *
from .auth0_user import *
from .run_read_response import *
from .item_creation_request import *
from .http_validation_error import *
from .validation_error_loc_inner import *
from .artifact_termination_reason import *
from .run_creation_request import *
from .item_termination_reason import *
from .run_item_statistics import *
from .output_artifact_visibility import *
from .custom_metadata_update_request import *
from .artifact_output import *
from .output_artifact import *
from .application_read_response import *
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.

The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.

The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion codegen/out/aignx/codegen/models/application_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.

The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion codegen/out/aignx/codegen/models/artifact_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.

The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion codegen/out/aignx/codegen/models/artifact_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.
The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.

The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with Atlas H&E-TME serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.
The version of the OpenAPI document: 1.0.0.beta7
The version of the OpenAPI document: 1.0.0-ga
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
Loading
Loading