Skip to content

Commit

Permalink
fix: Fix evironment metadata N+1 for environments list (#2947)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan authored Nov 13, 2023
1 parent 716b228 commit 7e1c779
Show file tree
Hide file tree
Showing 6 changed files with 885 additions and 827 deletions.
2 changes: 1 addition & 1 deletion api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def environment(project):
@pytest.fixture()
def with_environment_permissions(
environment: Environment, staff_user: FFAdminUser
) -> typing.Callable:
) -> typing.Callable[[list[str], int], None]:
"""
Add environment permissions to the staff_user fixture.
Defaults to associating to the environment fixture.
Expand Down
Loading

3 comments on commit 7e1c779

@vercel
Copy link

@vercel vercel bot commented on 7e1c779 Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-flagsmith.vercel.app
docs.flagsmith.com
docs-git-main-flagsmith.vercel.app
docs.bullet-train.io

@vercel
Copy link

@vercel vercel bot commented on 7e1c779 Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 7e1c779 Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.