Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
celsiusnarhwal committed Dec 3, 2024
1 parent e111e7f commit 2ac85fc
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 28 deletions.
6 changes: 0 additions & 6 deletions RIL/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ class Props(BaseModel):
def model_dump(self, **kwargs):
return super().model_dump(**kwargs, exclude_none=True, by_alias=True)

@classmethod
def validate_props(cls, props) -> dict:
return cls.model_validate(props).model_dump(exclude_none=True, by_alias=True)

@model_serializer(mode="wrap")
def serialize(self, handler: t.Callable):
serialized = handler(self)
Expand All @@ -38,8 +34,6 @@ class Base(rx.Component):
Base class for all components in this library.
"""

prop_cls: t.ClassVar[Props] = None

@classmethod
@validate_call
def _reproduce(cls, *, props: dict = None, **fields):
Expand Down
4 changes: 0 additions & 4 deletions RIL/fontawesome/component.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
"""
A Reflex component for the Font Awesome library of icons.
"""

import copy
import typing as t
from functools import partial
Expand Down
6 changes: 0 additions & 6 deletions RIL/material/component.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
"""
A Reflex component providing access to Google's Material Symbols.
https://ril.celesiusnarhwal.dev/material
"""

import re
import typing as t

Expand Down
6 changes: 0 additions & 6 deletions RIL/octicons/component.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
"""
A Reflex component providing access to GitHub's Octicons.
https://ril.celsiusnarhwal.dev/octicons
"""

import re
import typing as t

Expand Down
6 changes: 0 additions & 6 deletions RIL/simple/component.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
"""
A Reflex component providing access to the library of Simple Icons.
https://ril.celsiusnarhwal.dev/simple
"""

import typing as t
from functools import partial

Expand Down

0 comments on commit 2ac85fc

Please sign in to comment.