Josh Yu

Results 10 issues of Josh Yu

As you have given a save() example. ``` partition_key = _key_for_dt(tweet_data['created_at']) partition = Tweet.partitions.get_partition(partition_key) tweet = partition(**tweet_data) tweet.save() ``` I'm wonder that is how does the following code execute: `tweet...

- [ ] 1. Store config in the environment According to `12 factor`'s [config](https://12factor.net/config) specification. Our configuration still in python code. ![image](https://user-images.githubusercontent.com/5901894/169654961-887a74e9-f2ea-437f-91cc-fc5c5166b03b.png) We need to enhance it using environment or...

![image](https://user-images.githubusercontent.com/5901894/169655001-5a2816ca-6e25-452c-8387-7aef14b70480.png) Now we have a logging configuration file in projects. It's complex to setting up logging.

`bali-cli`(https://github.com/bali-framework/bali/) is based on the practice of protobuf, which comes from the best practice by Google results. But we never tell the detail of it.

ref: https://phrase.com/blog/posts/fastapi-i18n/

enhancement
help wanted

### Initial Checks - [X] I confirm that I'm using Pydantic V2 ### Description Packages versions: pydantic 2.4.2 pydantic_core 2.10.1 pydantic-settings 2.0.3 ```python class QueryParams(BaseModel): q: Annotated[list[str], Query()] signature =...

bug V2

When I create a new item: ```python POST /items { "name": "testing" } ``` It response the id of the inserted row, in array format ``` [{"id": 1}] ``` How...