-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
Description
Steps to reproduce
- Install the CLI from master and run the server from the latest release.
- Attach to a run.
Actual behaviour
> dstack attach test-service
Traceback (most recent call last):
File "/dstack/venv/bin/dstack", line 10, in <module>
sys.exit(main())
File "/dstack/src/dstack/_internal/cli/main.py", line 91, in main
args.func(args)
File "/dstack/src/dstack/_internal/cli/commands/attach.py", line 73, in _command
attached = run.attach(
File "/dstack/src/dstack/api/_public/runs.py", line 283, in attach
user = self._api_client.users.get_my_user()
File "/dstack/src/dstack/api/server/_users.py", line 22, in get_my_user
return parse_obj_as(UserWithCreds.__response__, resp.json())
File "pydantic/tools.py", line 38, in pydantic.tools.parse_obj_as
File "pydantic/main.py", line 347, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for ParsingModel[UserWithCredsResponse]
__root__ -> creds
field required (type=value_error.missing)Expected behaviour
No response
dstack version
master
Server logs
Additional information
Introduced in #3176