mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-25 09:54:23 +01:00
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com> Co-authored-by: Reinier van der Leer <github@pwuts.nl>
13 lines
265 B
Python
13 lines
265 B
Python
import dataclasses
|
|
|
|
|
|
@dataclasses.dataclass
|
|
class CommandParameter:
|
|
name: str
|
|
type: str
|
|
description: str
|
|
required: bool
|
|
|
|
def __repr__(self):
|
|
return f"CommandParameter('{self.name}', '{self.type}', '{self.description}', {self.required})"
|