GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    veer66 (veer66@social.vivaldi.net)'s status on Wednesday, 15-Jan-2025 15:32:33 JST veer66 veer66

    added __post_init__ with a validator to a dataclass.

    context: this project doesn't use SQLAlchemy.

    It looks nice.

    #python

    In conversation about 4 months ago from social.vivaldi.net permalink

    Attachments


    • Embed this notice
      veer66 (veer66@social.vivaldi.net)'s status on Wednesday, 15-Jan-2025 19:48:37 JST veer66 veer66
      • clacke

      @clacke I've used varied versions of Pydantic for 7 months already. I appreciate the Pydantic team for creating declarative specs and validators via classes, which people are already familiar with. However, I prefer typed dicts or data classes.

      In conversation about 4 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.