Skip to content

Commit

Permalink
Enh/attachments (#20)
Browse files Browse the repository at this point in the history
* add support for attachments

* add model alias fetching

* only return validated data

* use alias for sort key

* doctest example for model

* new core

* coverage

* documentation

* add usage example


---------

Co-authored-by: jtyoung84 <[email protected]>
  • Loading branch information
mochic and jtyoung84 authored Jul 18, 2024
1 parent 759ba64 commit 40630df
Show file tree
Hide file tree
Showing 27 changed files with 1,003 additions and 650 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ To develop the code, run
pip install -e .[dev]
```

## Usage

### VScode
![](example-usage.gif)

Requires the [pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance) to be installed for similar functionality.

## Contributing

### Linters and testing
Expand Down
Binary file added example-usage.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 0 additions & 123 deletions src/aind_slims_api/behavior_session.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/aind_slims_api/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ class AindSlimsApiSettings(BaseSettings):

slims_url: str = "https://aind-test.us.slims.agilent.com/slimsrest/"
slims_username: str = ""
slims_password: SecretStr = ""
slims_password: SecretStr = SecretStr("")
Loading

0 comments on commit 40630df

Please sign in to comment.