refactor: @cause_by.setter

This commit is contained in:
莘权 马 2023-11-04 17:02:40 +08:00
parent b0d451d4d6
commit 2129c904ea
2 changed files with 1 additions and 4 deletions

View file

@ -4,7 +4,6 @@
@Time : 2023/5/11 14:43
@Author : alexanderwu
@File : action.py
@Modified By: mashenquan, 2023-11-1. Add generic class-to-string and object-to-string conversion functionality.
"""
import re
from abc import ABC

View file

@ -5,9 +5,7 @@
@Author : alexanderwu
@File : software_company.py
@Modified By: mashenquan, 2023-11-1. According to Chapter 2.2.1 and 2.2.2 of RFC 116:
1. Change the data type of the `cause_by` value in the `Message` to a string to support the new message
distribution feature.
2. Abandon the design of having `Environment` store all messages.
1. Abandon the design of having `Environment` store all messages.
"""
from pydantic import BaseModel, Field