Skip to content

Commit

Permalink
Merge pull request #171 from MerleLiuKun/feat-ig-comment-user
Browse files Browse the repository at this point in the history
feat(ig business): ✨ add model `from` fields for ig business…
  • Loading branch information
MerleLiuKun authored Oct 21, 2021
2 parents 9536d30 + 22f7fc6 commit 84beacb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyfacebook/models/ig_business_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from dataclasses import dataclass
from typing import List, Optional, Union

from dataclasses_json import config

from pyfacebook.models.base import BaseModel, field
from pyfacebook.models.extensions import Paging

Expand Down Expand Up @@ -112,6 +114,7 @@ class IgBusReply(BaseModel):
timestamp: Optional[str] = field()
user: Optional[IgBusUser] = field()
username: Optional[str] = field()
_from: Optional[IgBusUser] = field(metadata=config(field_name="from"))


@dataclass
Expand Down

0 comments on commit 84beacb

Please sign in to comment.