Kim Gustyr

Results 82 issues of Kim Gustyr

Just asking to clarify how justified is a separate model for defining relations. Why not use a ForeignKey or subclass it to define a custom field?

### Initial Checks - [X] I confirm that I'm using Pydantic V2 ### Description When iterating over a model with a `computed_field` defined, it will be omitted. ### Example Code...

Change
V3

Thanks for submitting a PR! Please check the boxes below: - [x] I have run [`pre-commit`](https://docs.flagsmith.com/platform/contributing#pre-commit) to check linting - [ ] I have added information to `docs/` if required...

api

**Is your feature request related to a problem? Please describe.** Would be cool to be able to tag: - [ ] Segments - [ ] Change Requests - [ ]...

feature

This is a tracking issue for current problems when trying to bring up Flagsmith locally: cc @gnumoreno ### Common - [ ] No single documented way of doing this. We...

improvement
tech-debt

Thanks for submitting a PR! Please check the boxes below: - [x] I have run [`pre-commit`](https://docs.flagsmith.com/platform/contributing#pre-commit) to check linting - [ ] I have added information to `docs/` if required...

api

- Add `EDGE_V2_MIGRATION_READ_CAPACITY_BUDGET` setting - Add per-project read capacity budget - Enable incomplete Edge V2 migrations when capacity budget exceeded Thanks for submitting a PR! Please check the boxes below:...

api

The code [here](https://github.com/Flagsmith/flagsmith/blob/41a8aa3dd133424adef69b3f1b4ac0ae0df0bba8/api/environments/sdk/schemas.py#L5-L14) causes tests to fail with the following error: ``` pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for [class 'datetime.datetime'](https://app.slack.com/client/TTKSY58MC/class%20'datetime.datetime'). Set `arbitrary_types_allowed=True` in the model_config to ignore this error...

### How are you running Flagsmith - [X] Self Hosted with Docker - [ ] Self Hosted with Kubernetes - [ ] SaaS at flagsmith.com - [ ] Some other...

bug

Thanks for submitting a PR! Please check the boxes below: - [x] I have run [`pre-commit`](https://docs.flagsmith.com/platform/contributing#pre-commit) to check linting - [ ] I have added information to `docs/` if required...

api
docs