MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / UploadedFileField

Class UploadedFileField

apps/tools/serializers/tool.py:238–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236
237
238class UploadedFileField(serializers.FileField):
239 def __init__(self, **kwargs):
240 super().__init__(**kwargs)
241
242 def to_representation(self, value):
243 return value
244
245
246class ToolInputField(serializers.Serializer):

Callers 3

FileSerializerClass · 0.90
ImportClass · 0.70
UploadSkillFileClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected