File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919- Updated ` CspGenerator.get_csp() ` method to ` CspGenerator.to_string() `
2020- Moved the simplification step of generating a CSP string to the ` to_string() ` method
2121- By default, disallow ` frame-ancestors ` and ` child-src ` in CSP
22+ - ` datetime.group_by_year_and_month ` now accepts a list of items rather than a dict that requires an ` items ` key
2223
2324### Deprecated
2425
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ class CspGenerator:
3030 def __init__ (
3131 self ,
3232 default_src : str | list [str ] | None = None ,
33- allow_objects = False ,
34- allow_iframe_embedding = False ,
35- allow_children = False ,
33+ allow_objects : bool = False ,
34+ allow_iframe_embedding : bool = False ,
35+ allow_children : bool = False ,
3636 ) -> None :
3737 self .default_src_sources : list [str ] = []
3838 if default_src :
You can’t perform that action at this time.
0 commit comments