Skip to content

Commit

Permalink
messing around with Alert docs and sig
Browse files Browse the repository at this point in the history
  • Loading branch information
troyraen committed Jun 29, 2024
1 parent 0018835 commit dfab84a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pittgoogle/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ class Alert:
`Alert` may not be available. See :meth:`pittgoogle.Schemas.names` for a list of options.
"""

msg: Optional[
Union["google.cloud.pubsub_v1.types.PubsubMessage", types_.PubsubMessageLike]
] = field(default=None)
msg: Union["google.cloud.pubsub_v1.types.PubsubMessage", types_.PubsubMessageLike, None] = (
field(default=None)
)
"""Incoming Pub/Sub message object."""
_attributes: Optional[Mapping[str, str]] = field(default=None)
_dict: dict | None = field(default=None)
_dataframe: Optional["pd.DataFrame"] = field(default=None)
schema_name: Optional[str] = field(default=None)
_schema: Optional[types_.Schema] = field(default=None, init=False)
path: Optional[Path] = field(default=None)
_attributes: Mapping[str, str] | None = field(default=None)
_dict: Mapping | None = field(default=None)
_dataframe: "pd.DataFrame" | None = field(default=None)
schema_name: str | None = field(default=None)
_schema: types_.Schema | None = field(default=None, init=False)
path: Path | None = field(default=None)

# ---- class methods ---- #
@classmethod
Expand Down

0 comments on commit dfab84a

Please sign in to comment.