fal 1.36.0__py3-none-any.whl → 1.36.1__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 fal might be problematic. Click here for more details.

fal/_fal_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '1.36.0'
32
- __version_tuple__ = version_tuple = (1, 36, 0)
31
+ __version__ = version = '1.36.1'
32
+ __version_tuple__ = version_tuple = (1, 36, 1)
33
33
 
34
34
  __commit_id__ = commit_id = None
fal/cli/auth.py CHANGED
@@ -44,7 +44,9 @@ def _list_accounts(args):
44
44
  config = Config()
45
45
  current_account_name = config.get_internal("team") or user_access.info["nickname"]
46
46
 
47
- if args.output == "json":
47
+ # NOTE: might be used by other commands that don't have the --output/--json flag
48
+ output = getattr(args, "output", "pretty")
49
+ if output == "json":
48
50
  json_accounts = []
49
51
  for account in user_access.accounts:
50
52
  selected = account["nickname"] == current_account_name
@@ -56,7 +58,7 @@ def _list_accounts(args):
56
58
  }
57
59
  )
58
60
  args.console.print(json.dumps({"teams": json_accounts}))
59
- elif args.output == "pretty":
61
+ elif output == "pretty":
60
62
  from rich.style import Style
61
63
  from rich.table import Table
62
64
 
@@ -78,7 +80,7 @@ def _list_accounts(args):
78
80
 
79
81
  args.console.print(table)
80
82
  else:
81
- raise AssertionError(f"Invalid output format: {args.output}")
83
+ raise AssertionError(f"Invalid output format: {output}")
82
84
 
83
85
 
84
86
  def _unset_account(args):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fal
3
- Version: 1.36.0
3
+ Version: 1.36.1
4
4
  Summary: fal is an easy-to-use Serverless Python Framework
5
5
  Author: Features & Labels <support@fal.ai>
6
6
  Requires-Python: >=3.8
@@ -1,6 +1,6 @@
1
1
  fal/__init__.py,sha256=wXs1G0gSc7ZK60-bHe-B2m0l_sA6TrFk4BxY0tMoLe8,784
2
2
  fal/__main__.py,sha256=4JMK66Wj4uLZTKbF-sT3LAxOsr6buig77PmOkJCRRxw,83
3
- fal/_fal_version.py,sha256=wzozzT1sMGgch_KfOp1XVXzDr0eAntuPoKi7UDjnJ1U,706
3
+ fal/_fal_version.py,sha256=3O5R5kfC2NAQSY39lwr4Di6e6T8ez4E255wTzoz-vaE,706
4
4
  fal/_serialization.py,sha256=npXNsFJ5G7jzBeBIyVMH01Ww34mGY4XWhHpRbSrTtnQ,7598
5
5
  fal/_version.py,sha256=1BbTFnucNC_6ldKJ_ZoC722_UkW4S9aDBSW9L0fkKAw,2315
6
6
  fal/api.py,sha256=oWSPxefwyYF93s54mtyYGKWYMax9ll9B-wxijOyARb4,49244
@@ -24,7 +24,7 @@ fal/cli/__init__.py,sha256=padK4o0BFqq61kxAA1qQ0jYr2SuhA2mf90B3AaRkmJA,37
24
24
  fal/cli/_utils.py,sha256=ulYezhr3G29nTIF8MDQ6tsW01Oj1zPo-YSqMoBi05Ic,1871
25
25
  fal/cli/api.py,sha256=ZuDE_PIC-czzneTAWMwvC7P7WnwIyluNZSuJqzCFhqI,2640
26
26
  fal/cli/apps.py,sha256=v7Hgx5blO-YHfLnScq6QyDgBZQiumJ37tOppbtPn41Q,11411
27
- fal/cli/auth.py,sha256=LH6BygQIcBMeyodvyZQZJaZiBeLeZdDmqbLFg68XBfQ,5860
27
+ fal/cli/auth.py,sha256=ZLjxuF4LobETJ2CLGMj_QurE0PiJxzKdFJZkux8uLHM,5977
28
28
  fal/cli/cli_nested_json.py,sha256=veSZU8_bYV3Iu1PAoxt-4BMBraNIqgH5nughbs2UKvE,13539
29
29
  fal/cli/create.py,sha256=a8WDq-nJLFTeoIXqpb5cr7GR7YR9ZZrQCawNm34KXXE,627
30
30
  fal/cli/debug.py,sha256=mTCjSpEZaNKcX225VZtry-BspFKSHURUuxUFuX6x5Cc,1488
@@ -143,8 +143,8 @@ openapi_fal_rest/models/workflow_node_type.py,sha256=-FzyeY2bxcNmizKbJI8joG7byRi
143
143
  openapi_fal_rest/models/workflow_schema.py,sha256=4K5gsv9u9pxx2ItkffoyHeNjBBYf6ur5bN4m_zePZNY,2019
144
144
  openapi_fal_rest/models/workflow_schema_input.py,sha256=2OkOXWHTNsCXHWS6EGDFzcJKkW5FIap-2gfO233EvZQ,1191
145
145
  openapi_fal_rest/models/workflow_schema_output.py,sha256=EblwSPAGfWfYVWw_WSSaBzQVju296is9o28rMBAd0mc,1196
146
- fal-1.36.0.dist-info/METADATA,sha256=jO7n7YXWCZgSaB_p_JAGvy-UJki-JmO9yYs6mgP0e2U,4054
147
- fal-1.36.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
148
- fal-1.36.0.dist-info/entry_points.txt,sha256=32zwTUC1U1E7nSTIGCoANQOQ3I7-qHG5wI6gsVz5pNU,37
149
- fal-1.36.0.dist-info/top_level.txt,sha256=r257X1L57oJL8_lM0tRrfGuXFwm66i1huwQygbpLmHw,21
150
- fal-1.36.0.dist-info/RECORD,,
146
+ fal-1.36.1.dist-info/METADATA,sha256=i_q8gLTH7qG8Ps72_RUgBLFluBgH2cu3Eugx-HfxsTs,4054
147
+ fal-1.36.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
148
+ fal-1.36.1.dist-info/entry_points.txt,sha256=32zwTUC1U1E7nSTIGCoANQOQ3I7-qHG5wI6gsVz5pNU,37
149
+ fal-1.36.1.dist-info/top_level.txt,sha256=r257X1L57oJL8_lM0tRrfGuXFwm66i1huwQygbpLmHw,21
150
+ fal-1.36.1.dist-info/RECORD,,
File without changes