mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-30 14:35:17 +02:00
add deprecated warnings
This commit is contained in:
parent
56c2a162ac
commit
a5bc55f18a
1 changed files with 13 additions and 0 deletions
13
metagpt/software_company.py
Normal file
13
metagpt/software_company.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
@Time : 2023/5/12 00:30
|
||||
@Author : alexanderwu
|
||||
@File : software_company.py
|
||||
"""
|
||||
from metagpt.team import Team as SoftwareCompany
|
||||
|
||||
import warnings
|
||||
warnings.warn("metagpt.software_company is deprecated and will be removed in the future"
|
||||
"Please use metagpt.team instead. SoftwareCompany class is now named as Team.",
|
||||
DeprecationWarning, 2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue