superset-showtime 0.1.0__py3-none-any.whl

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.

Potentially problematic release.


This version of superset-showtime might be problematic. Click here for more details.

@@ -0,0 +1 @@
1
+ """Showtime CLI commands"""
@@ -0,0 +1,40 @@
1
+ """
2
+ 🎪 Start show command - Create ephemeral environments
3
+ """
4
+
5
+ from dataclasses import dataclass
6
+ from typing import Optional
7
+
8
+
9
+ @dataclass
10
+ class StartResult:
11
+ """Result of starting a show"""
12
+
13
+ success: bool
14
+ url: Optional[str] = None
15
+ error: Optional[str] = None
16
+
17
+
18
+ def start_show(
19
+ pr_number: int, sha: Optional[str] = None, ttl: str = "24h", size: str = "standard"
20
+ ) -> StartResult:
21
+ """
22
+ Start the show! Create ephemeral environment for PR
23
+
24
+ Args:
25
+ pr_number: PR number to create environment for
26
+ sha: Specific commit SHA (default: latest)
27
+ ttl: Time to live (24h, 48h, 1w, close)
28
+ size: Environment size (standard, large)
29
+
30
+ Returns:
31
+ StartResult with success status and details
32
+ """
33
+ # TODO: Implement environment creation
34
+ # 1. Get latest SHA if not provided
35
+ # 2. Create circus labels
36
+ # 3. Build Docker image
37
+ # 4. Deploy to ECS
38
+ # 5. Update labels with running state
39
+
40
+ return StartResult(success=False, error="Not yet implemented")
@@ -0,0 +1 @@
1
+ """Core Showtime functionality"""