feat(backend): full remote implementation, untested

This commit is contained in:
Shivering Ocelot committed 2026-09-02 10:46:51 -05:00
1 parent 0705f4abc5
commit 5009a4eb4c
8 files changed
+485 -33

No files matched your search

+4 -3
View File
@@ -146,9 +146,10 @@ class Agent:
else:
return 'user'
# Returns all resource values matching the kind and key
def get_resources(self, kind, key):
pass # TODO lol
# Returns all resource values matching the kind, and the key when given
def get_resources(self, kind, key=None):
return [r for r in self.resources
if r.kind == kind and (key is None or r.key == key)]
class DebugAgent(Agent):