YueGuobin
a6dcab8110
fix: avoid AttributeError when password is not provided in compute update
...
When updating a compute without providing a password field,
compute_update.password is None and calling .get_secret_value()
on it causes a 500 Internal Server Error. Only set the password
in update_values when a password is actually provided.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-02 15:37:46 +08:00
grossmj
bfed330ec2
Fix bug when updating compute password to be empty
2026-02-16 19:23:46 +08:00
grossmj
9c456532d0
Pydantic v2 migration
2023-08-04 18:20:06 +10:00
grossmj
10fdd8fcf4
Add connect endpoint for computes
...
Param to connect to compute after creation
Report compute unauthorized HTTP errors to client
2021-12-24 13:05:39 +10:30
grossmj
515bd50261
Start refactoring for images management
2021-06-06 16:52:47 +09:30
grossmj
0113ca6673
Force refresh of updated_at value in db models.
2021-06-01 16:09:29 +09:30
grossmj
a6c2a3e47f
Use synchronize_session="fetch" when updating values.
2021-06-01 13:02:03 +09:30
grossmj
c021e21309
Use black with -l 120 param.
2021-04-13 18:46:50 +09:30
grossmj
30ebae207f
Use Pydantic to validate the server config file.
2021-04-12 17:02:23 +09:30
grossmj
566e326b57
Save computes to database
2021-04-05 14:21:41 +09:30