splight-cli 3.1.0.dev2__py3-none-any.whl → 3.1.0.dev3__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 splight-cli might be problematic. Click here for more details.

@@ -1,5 +1,5 @@
1
1
  import random
2
- from typing import Type
2
+ from typing import Optional, Type
3
3
 
4
4
  import typer
5
5
  from splight_lib.component import SplightBaseComponent
@@ -49,7 +49,10 @@ class {{component_name}}(SplightBaseComponent):
49
49
 
50
50
 
51
51
  @app.command()
52
- def main(component_id: str = typer.Option(...)):
52
+ def main(
53
+ component_id: str = typer.Option(...),
54
+ input: Optional[str] = typer.Option(None),
55
+ ):
53
56
  logger = getLogger("MyComponent")
54
57
  component = {{component_name}}(component_id=component_id)
55
58
  try:
cli/settings.py CHANGED
@@ -8,8 +8,7 @@ class SplightCLISettings(BaseSettings):
8
8
  SPLIGHT_ACCESS_ID: str = ""
9
9
  SPLIGHT_SECRET_KEY: str = ""
10
10
  SPLIGHT_PLATFORM_API_HOST: str = "https://api.splight-ai.com"
11
- SPLIGHT_GRPC_HOST: str = "integrationgrpc.splight-ai.com:443"
12
- # SPLIGHT_GRPC_HOST: str = "grpc.splight-ai.com:443"
11
+ SPLIGHT_GRPC_HOST: str = "grpc.splight-ai.com:443"
13
12
 
14
13
  class Config:
15
14
  extra = Extra.ignore
cli/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "3.1.0.dev2"
1
+ __version__ = "3.1.0.dev3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: splight-cli
3
- Version: 3.1.0.dev2
3
+ Version: 3.1.0.dev3
4
4
  Summary: CLI tool to build and run Splight components
5
5
  Home-page: UNKNOWN
6
6
  Author: Splight
@@ -20,7 +20,7 @@ Requires-Dist: pytest (==7.1.2)
20
20
  Requires-Dist: requests (==2.27.1)
21
21
  Requires-Dist: rich (==13.0.1)
22
22
  Requires-Dist: setuptools (==60.9.3)
23
- Requires-Dist: splight-lib (==3.1.0.dev2)
23
+ Requires-Dist: splight-lib (==3.1.0.dev3)
24
24
  Requires-Dist: typer (==0.7.0)
25
25
  Provides-Extra: dev
26
26
  Requires-Dist: black (==23.3.0) ; extra == 'dev'
@@ -1,8 +1,8 @@
1
1
  cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  cli/cli.py,sha256=sKEQSwKs2evldei7PrmVu5Dv2xnupyhHQt9XCcnd4bg,949
3
3
  cli/constants.py,sha256=VCy3dZE342neLqGAcUQYZt4CNKEgXKO4j2qp_PT_Fv8,1576
4
- cli/settings.py,sha256=8b-qfAXemvIyf5E5ydCJ0btpLV8wsXUS38frqjhB4B8,720
5
- cli/version.py,sha256=N_5BYKXbqwHCPvwwRyXFl74kmRr__KQNKq5XTt1VKGo,27
4
+ cli/settings.py,sha256=MujJNyhGHqT0ULN5mRDigdLq3-EPg2SvAbWp2hQIUHs,652
5
+ cli/version.py,sha256=Dz365uNrTi6pUrWNalbJ1mOMmoRhnOnfOPati6xD3NQ,27
6
6
  cli/component/__init__.py,sha256=1DvCzxM_JHb3aV7bavShBVjRFRZH-84rBVsyTpu8v3Y,4471
7
7
  cli/component/component.py,sha256=sowCu5-XvcpziXKOamjSmCjQ5_oG_XFKMe81Y_64AAM,8360
8
8
  cli/component/exceptions.py,sha256=936K_NhkvvdpKWeQrY80CFn2eMi2BUSw324vCJvM9Mo,1521
@@ -12,7 +12,7 @@ cli/component/templates/.splightignore,sha256=xDmIdRZn4nhlSCrGSMYK6u-NI2taoHT64b
12
12
  cli/component/templates/Initialization,sha256=iO7tPNlE9Ea697n_OQVwJV9gz1JPhzN4MYCscBzyCNw,52
13
13
  cli/component/templates/README.md,sha256=e66WeSk9z6zApMc4OxeFpxgGblEanaevE90Gy78ir1I,113
14
14
  cli/component/templates/auto_readme.md,sha256=43dxn8V2NvgRj_QqaSsHhi7qr2NAORC2EfgBpXz5xuE,2087
15
- cli/component/templates/main.py,sha256=lvtuWbFC6XLJZlo7ovsE7pGv2JJZu1U3cqvKOgxmu2M,1750
15
+ cli/component/templates/main.py,sha256=WGpOEl7qezVJeIjJWUPMTsGjVxX5otXUztW96oPP5OI,1814
16
16
  cli/component/templates/spec.json,sha256=K5FTQAAN6_ALy0F52FOp5Tz1gxUiI-GxcT09KbeAt7g,2108
17
17
  cli/component/templates/tests.py,sha256=NxKPIySTK0gyM4GBAYtzUD7P7UO-ODWQwCso1gKRB0c,614
18
18
  cli/component/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -45,8 +45,8 @@ cli/utils/pprint.py,sha256=q2-UizF_Zq4etoJnZKr9XUNL4Nsu6jbY_bn-QpGr8z8,1079
45
45
  cli/utils/template.py,sha256=e035kYbVp1xL-vmTFKDlWRFYPz5wrpRTdU_qrB0xV5Q,435
46
46
  cli/utils/yaml.py,sha256=jhNdQa_ExlSaXsPnlfLKKMOKbF1fJLpx0o264AdCNrg,754
47
47
  cli/workspace/__init__.py,sha256=cwEdYmi2FqBcCrt-U98G5uY7FT5gr-LqzghIOP5QMBg,2775
48
- splight_cli-3.1.0.dev2.dist-info/METADATA,sha256=abnWb7LdiJXnZFPlA2E1JGXxn3B2V8nxmlop_64xfv0,1293
49
- splight_cli-3.1.0.dev2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
50
- splight_cli-3.1.0.dev2.dist-info/entry_points.txt,sha256=IDM6zGhinztZLBDM4bx17B1Bw7Ruo2_yzEa91Fe8i2Y,41
51
- splight_cli-3.1.0.dev2.dist-info/top_level.txt,sha256=HmpDxSFAbd4V_5A36MKSqpOO_JlkyBLYDfR8F8Vjp7E,12
52
- splight_cli-3.1.0.dev2.dist-info/RECORD,,
48
+ splight_cli-3.1.0.dev3.dist-info/METADATA,sha256=JaIhM5IsFINq45SHs1hIBTMsubV_hAPJF7fDe7Gy-MI,1293
49
+ splight_cli-3.1.0.dev3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
50
+ splight_cli-3.1.0.dev3.dist-info/entry_points.txt,sha256=IDM6zGhinztZLBDM4bx17B1Bw7Ruo2_yzEa91Fe8i2Y,41
51
+ splight_cli-3.1.0.dev3.dist-info/top_level.txt,sha256=HmpDxSFAbd4V_5A36MKSqpOO_JlkyBLYDfR8F8Vjp7E,12
52
+ splight_cli-3.1.0.dev3.dist-info/RECORD,,