Remove organization creation API and update quota/dimension handling#62
Merged
Remove organization creation API and update quota/dimension handling#62
Conversation
- Deleted the `create_org.py` file which contained the API logic for creating organizations. - Removed the `CreateOrgRequest` model from the models directory and updated the `__init__.py` to reflect this change. These modifications streamline the codebase by eliminating unused functionality related to organization creation.
…f 'FactDimension' - Modified Cypher queries in both `subgraph_workspace_client.py` and `view_builder_client.py` to replace references to 'FactDimension' with 'Dimension'. - This change ensures consistency in the data model and improves clarity in the query structure.
- Revised tier limits in `get_subgraph_quota.py` to specify maximum subgraphs for Standard, Large, and XLarge tiers, along with instance types. - Adjusted default retention days in `backup_create_request.py` from 90 to 30 days for backup requests. These changes enhance clarity in resource allocation and backup management within the robosystems client.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes the deprecated organization creation functionality and includes several improvements to subgraph quota management and Cypher query handling.
Key Changes
API Cleanup
Subgraph & Database Improvements
Model Updates
__init__.pyto remove references to deleted CreateOrgRequestBreaking Changes
CreateOrgRequestmodel and organization creation API endpoint have been completely removed. Any code depending on these components will need to be updated to use alternative organization management approaches.Testing Considerations
Infrastructure Impact
This change reduces the client library footprint by ~250 lines of code while improving the reliability of quota management and database queries. No deployment-specific actions are required, but dependent services should be audited for usage of the removed organization creation functionality.
🤖 Generated with Claude Code
Branch Info:
chore/remove-create-orgmainCo-Authored-By: Claude noreply@anthropic.com