Retrieves this container plus the given OCI annotation. Parameters ---------- name: The name of the annotation. value: The value of the annotation.
(self, name: str, value: str)
| 2800 | return await _ctx.execute(str) |
| 2801 | |
| 2802 | def with_annotation(self, name: str, value: str) -> Self: |
| 2803 | """Retrieves this container plus the given OCI annotation. |
| 2804 | |
| 2805 | Parameters |
| 2806 | ---------- |
| 2807 | name: |
| 2808 | The name of the annotation. |
| 2809 | value: |
| 2810 | The value of the annotation. |
| 2811 | """ |
| 2812 | _args = [ |
| 2813 | Arg("name", name), |
| 2814 | Arg("value", value), |
| 2815 | ] |
| 2816 | _ctx = self._select("withAnnotation", _args) |
| 2817 | return Container(_ctx) |
| 2818 | |
| 2819 | def with_default_args(self, args: list[str]) -> Self: |
| 2820 | """Configures default arguments for future commands. Like CMD in |