janet-cli 0.2.5__tar.gz → 0.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {janet_cli-0.2.5/janet_cli.egg-info → janet_cli-0.2.7}/PKG-INFO +1 -1
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/__init__.py +1 -1
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/api/tickets.py +4 -3
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/sync/sync_engine.py +1 -3
- {janet_cli-0.2.5 → janet_cli-0.2.7/janet_cli.egg-info}/PKG-INFO +1 -1
- {janet_cli-0.2.5 → janet_cli-0.2.7}/pyproject.toml +1 -1
- {janet_cli-0.2.5 → janet_cli-0.2.7}/.env.example +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/LICENSE +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/MANIFEST.in +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/README.md +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/__main__.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/api/__init__.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/api/client.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/api/models.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/api/organizations.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/api/projects.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/auth/__init__.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/auth/callback_server.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/auth/oauth_flow.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/auth/token_manager.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/cli.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/config/__init__.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/config/manager.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/config/models.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/markdown/__init__.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/markdown/generator.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/markdown/yjs_converter.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/sync/__init__.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/sync/file_manager.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/sync/readme_generator.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/utils/__init__.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/utils/console.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/utils/errors.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet/utils/paths.py +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet_cli.egg-info/SOURCES.txt +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet_cli.egg-info/dependency_links.txt +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet_cli.egg-info/entry_points.txt +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet_cli.egg-info/requires.txt +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/janet_cli.egg-info/top_level.txt +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/requirements.txt +0 -0
- {janet_cli-0.2.5 → janet_cli-0.2.7}/setup.cfg +0 -0
|
@@ -101,14 +101,15 @@ class TicketAPI(APIClient):
|
|
|
101
101
|
|
|
102
102
|
def sync_all_tickets(self, project_id: str) -> Dict:
|
|
103
103
|
"""
|
|
104
|
-
Get ALL tickets for a project using the CLI sync endpoint.
|
|
105
|
-
|
|
104
|
+
Get ALL tickets for a project using the CLI sync endpoint - NO LIMIT.
|
|
105
|
+
|
|
106
|
+
Uses dedicated CLI endpoint that returns all tickets in one call.
|
|
106
107
|
|
|
107
108
|
Args:
|
|
108
109
|
project_id: Project ID
|
|
109
110
|
|
|
110
111
|
Returns:
|
|
111
|
-
Dictionary with
|
|
112
|
+
Dictionary with ALL tickets (no pagination)
|
|
112
113
|
|
|
113
114
|
Raises:
|
|
114
115
|
NetworkError: If API request fails
|
|
@@ -114,10 +114,8 @@ class SyncEngine:
|
|
|
114
114
|
"""
|
|
115
115
|
org_name = self.config.selected_organization.name
|
|
116
116
|
|
|
117
|
-
# Fetch
|
|
117
|
+
# Fetch ALL tickets using unlimited CLI sync endpoint (no pagination!)
|
|
118
118
|
response = self.ticket_api.sync_all_tickets(project_id)
|
|
119
|
-
|
|
120
|
-
# Extract tickets from response
|
|
121
119
|
tickets = response.get("tickets", [])
|
|
122
120
|
|
|
123
121
|
if not tickets:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|