Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi ! I Have A Config Dictionary Which Is A Dot Dictionary ( A Dictionary That Supports Dot Notation As Well As Dictionary Access Notation Set Attributes: D.Val2 = 'Second' Or D['Val2'] = 'Second' Get Attributes: D.Val2 Or D['Val2'] ) I Ru

Hi !
I have a config dictionary which is a dot dictionary
( a dictionary that supports dot notation
as well as dictionary access notation
set attributes: d.val2 = 'second' or d['val2'] = 'second'
get attributes: d.val2 or d['val2'] )
I run -
config = HpsYaml(paras.config) #create a dot dictionary
followed by
parameters = task.connect(config, name='config_params')
When running 'manually' from vsCode, all ok.
However, when running with an agent I get the following error-
image

  
  
Posted one year ago
Votes Newest

Answers 4


You are right! I added this and indeed issue was solved. Thanks!

  
  
Posted one year ago

can you suggest a solution or a workaround?

  
  
Posted one year ago

Hi @<1571308003204796416:profile|HollowPeacock58>

parameters = task.connect(config, name='config_params')

It seems that your DotDict does not support the python copy operator?
i.e.

from copy import copy
copy(DotDict())

fails ?

  
  
Posted one year ago

image

  
  
Posted one year ago
960 Views
4 Answers
one year ago
one year ago
Tags