Skip to content

Commit

Permalink
Change mixin of str and Enum to StrEnum in NaturalGasCompany.
Browse files Browse the repository at this point in the history
  • Loading branch information
Debajyoti Debnath committed May 15, 2024
1 parent fbf03a0 commit 9cbff0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules-engine/src/rules_engine/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import csv
import io
from datetime import datetime, timedelta
from enum import Enum
from enum import StrEnum

from .pydantic_models import NaturalGasBillingInput, NaturalGasBillingRecordInput


class NaturalGasCompany(str, Enum):
class NaturalGasCompany(StrEnum):
EVERSOURCE = "eversource"
NATIONAL_GRID = "national_grid"

Expand Down

0 comments on commit 9cbff0e

Please sign in to comment.