Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: Cloning repo
Expand Down
6 changes: 3 additions & 3 deletions flag_engine/organisations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
class OrganisationModel(BaseModel):
id: int
name: str
feature_analytics: bool
stop_serving_flags: bool
persist_trait_data: bool
feature_analytics: bool = False
stop_serving_flags: bool = False
persist_trait_data: bool = True

@property
def unique_slug(self) -> str:
Expand Down
2 changes: 1 addition & 1 deletion flag_engine/projects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ProjectModel(BaseModel):
id: int
name: str
organisation: OrganisationModel
hide_disabled_flags: bool
hide_disabled_flags: bool = False
segments: typing.List[SegmentModel] = Field(default_factory=list)
enable_realtime_updates: bool = False
server_key_only_feature_ids: typing.List[int] = Field(default_factory=list)