Skip to content

Commit 04b3011

Browse files
committed
refactor: Call cls from inside class method
1 parent af8532a commit 04b3011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shiny/ui/_theme_brand.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def from_brand(cls, brand: Brand):
220220

221221
defaults: dict[str, YamlScalarType] = {}
222222

223-
d_bootstrap = BrandBootstrapConfig._brand_defaults_bootstrap(brand)
224-
d_shiny = BrandBootstrapConfig._brand_defaults_shiny(brand)
223+
d_bootstrap = cls._brand_defaults_bootstrap(brand)
224+
d_shiny = cls._brand_defaults_shiny(brand)
225225

226226
defaults.update(d_bootstrap.defaults or {})
227227
defaults.update(d_shiny.defaults or {})

0 commit comments

Comments
 (0)