-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIC-py][editor] file path initialization (#697)
[AIC-py][editor] file path initialization 1. path is non-optional and has a default value 2. on init, create a new instance and save to the path if the file doesn't exist (otherwise, try to load as usual) Run server with and without explicit path. Observe in the logs that, in either case, when the file doesn't exist it gets created and written to. Run again pointing at an existing valid path (e.g. the one just created). Observe again in the logs that it loads from the path. https://github.com/lastmile-ai/aiconfig/assets/148090348/ee24a0c0-84d8-47aa-b37f-bc9180948b4e
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters