Skip to content

feat: Improve the cloud account pagination to work with python filters (MPT-8485) #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: organizations_cloud_accounts_pagination
Choose a base branch
from

Conversation

arturbalabanov
Copy link

Description

Improve the cloud account pagination to work with python filters. Let's first discuss the implementation and see if there are any flaws -- if we're happy I'll apply it to the employees endpoint (and others if needed).

I initially tried to do it all at once since the implementation is generic enough but this proved to be trickier than I thought -- I fix one thing and another breaks, so decided to draw the line here for the initial review and not waste too much time in case it doesn't work

Related issue number

MPT-8485

Checklist

  • The pull request title is a good summary of the changes
  • Unit tests for the changes exist
  • New and existing unit tests pass locally

Comment on lines +9 to +16
import optscale_client.config_client.client
from jira_bus.jira_bus_server.constants import backend_urls
from jira_bus.jira_bus_server.handlers.v2.app_descriptor import AppDescriptorHandler
from jira_bus.jira_bus_server.handlers.v2.app_descriptor import \
AppDescriptorHandler
from jira_bus.jira_bus_server.handlers.v2.app_hook import (
AppHookIssueUpdatedHandler,
AppHookIssueDeletedHandler,
)
from jira_bus.jira_bus_server.handlers.v2.app_lifecycle import (
AppLifecycleInstalledHandler,
)
AppHookIssueDeletedHandler, AppHookIssueUpdatedHandler)
from jira_bus.jira_bus_server.handlers.v2.app_lifecycle import \
AppLifecycleInstalledHandler
Copy link
Author

@arturbalabanov arturbalabanov Jun 4, 2025

Choose a reason for hiding this comment

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

Ignore these changes, only formatting has changed and I haven't configured my editor yet to follow the project's patterns -- will fix this before making it public of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant