Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Core: Add py.typed, Remove docs from source dist #12232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2025
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
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
exclude .github/**
exclude .circleci/**
exclude docs/**
exclude tests/**
exclude .test_durations
exclude .gitignore
exclude .pre-commit-config.yaml
exclude .python-version
include Makefile
include LICENSE.txt
Empty file.
12 changes: 6 additions & 6 deletions localstack-core/localstack/state/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,27 @@ class StateLifecycleHook:
- load: the state is injected into the service, or state directories on disk are restored
"""

def on_before_state_reset(self):
def on_before_state_reset(self) -> None:
"""Hook triggered before the provider's state containers are reset/cleared."""
pass

def on_after_state_reset(self):
def on_after_state_reset(self) -> None:
"""Hook triggered after the provider's state containers have been reset/cleared."""
pass

def on_before_state_save(self):
def on_before_state_save(self) -> None:
"""Hook triggered before the provider's state containers are saved."""
pass

def on_after_state_save(self):
def on_after_state_save(self) -> None:
"""Hook triggered after the provider's state containers have been saved."""
pass

def on_before_state_load(self):
def on_before_state_load(self) -> None:
"""Hook triggered before a previously serialized state is loaded into the provider's state containers."""
pass

def on_after_state_load(self):
def on_after_state_load(self) -> None:
"""Hook triggered after a previously serialized state has been loaded into the provider's state containers."""
pass

Expand Down
Loading