mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-31 23:02:01 +08:00
Fix: drop useless ABC method (#5408)
### What problem does this PR solve? seems no need use ABC here, there's no `abstractmethod` here ### Type of change - [x] Performance Improvement Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
afaa7144a5
commit
170abf9b7f
@ -15,7 +15,6 @@
|
|||||||
#
|
#
|
||||||
import logging
|
import logging
|
||||||
import json
|
import json
|
||||||
from abc import ABC
|
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
@ -25,7 +24,7 @@ from agent.component import component_class
|
|||||||
from agent.component.base import ComponentBase
|
from agent.component.base import ComponentBase
|
||||||
|
|
||||||
|
|
||||||
class Canvas(ABC):
|
class Canvas:
|
||||||
"""
|
"""
|
||||||
dsl = {
|
dsl = {
|
||||||
"components": {
|
"components": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user