MCPcopy Create free account
hub / github.com/dagger/dagger / as_service

Method as_service

sdk/python/src/dagger/client/gen.py:1031–1035  ·  view source on GitHub ↗

Retrieve the binding value, as type Service

(self)

Source from the content-addressed store, hash-verified

1029 return Secret(_ctx)
1030
1031 def as_service(self) -> "Service":
1032 """Retrieve the binding value, as type Service"""
1033 _args: list[Arg] = []
1034 _ctx = self._select("asService", _args)
1035 return Service(_ctx)
1036
1037 def as_socket(self) -> "Socket":
1038 """Retrieve the binding value, as type Socket"""

Callers 15

databaseMethod · 0.45
webMethod · 0.45
redisMethod · 0.45
test_service_start_stopFunction · 0.45
http_serviceMethod · 0.45
redis_serviceMethod · 0.45
servicesMethod · 0.45
getMethod · 0.45
redis_serviceMethod · 0.45
http_serviceMethod · 0.45
redisMethod · 0.45
redis_serviceMethod · 0.45

Calls 2

_selectMethod · 0.80
ServiceClass · 0.70

Tested by 1

test_service_start_stopFunction · 0.36