Asgeir Berland

Results 18 comments of Asgeir Berland

If a developer has worked with kubernetes or Argo Workflows before, it would be a seamless transition to construct the `Resources` object as the arguments are the same. If a...

``` def hello(): 'echo hello world' ws = WorkflowService(host="XXX", namespace="YYY", token=token) w = Workflow("test", ws, namespace=ws._namespace) t = Task("t", hello, command=['bash']) w.add_task(t) w.create() ``` Results in: ``` ... 'script': {'command':...

> Hi @Trollgeir slightly_smiling_face I believe you're looking for [this example](https://github.com/argoproj-labs/hera-workflows/blob/main/examples/container.py)! A similar example that runs 2 bash commands with Hera: > > ```python > """This example showcases how to...

> ... you may have passed a namespace to the service and expected that workflow to be submitted to that namespace by virtue of submission through the service. What do...

Given the example shown [here](https://github.com/argoproj-labs/hera-workflows/issues/202#issuecomment-1177513077), I reckon this is actually the right way to implement this. I was under the naive assumption that templates wouldn't be needed with Hera, but...

> @Trollgeir what do you think about a `ParameterizedArtifact` that has fields set via `inputs.parameters` and users specify the key of that dictionary? I think Hera should be as wary...

Also to the counter argument; These features are already being implemented by custom Agent scripts anyways. It makes sense to include commonalities in PlayerInfo as long as the calculations are...

> code with error : ` self.generate_new_data = lambda size=1: beta_geometric_beta_binom_model( # Making a large array replicating n by n_custs having n. np.array(sum([n_] * n_cust for (n_, n_cust) in zip(n_periods,...

What's the current status of this issue?

I don't know if I have an issue which is related to the same bug. I have a looping tripslayer in which a vehicle starts and returns to the same...