Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Gaudi Gaudi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 130
    • Issues 130
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 39
    • Merge requests 39
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GaudiGaudi
  • GaudiGaudi
  • Issues
  • #146

DataHandle __add__ operators

I am trying to understand the use-cases of the DataHandle __add__ operators, e.g.:

>>> from GaudiKernel.DataHandle import DataHandle
>>> dh1 = DataHandle("dh1")
>>> "ABC"+dh1
DataHandle('ABCdh1','R','unknown_t')

Is this behavior actually used in LHCb? For ATLAS, we would prefer that the result is a str. But in general, maybe such implicit type conversions are to be avoided to begin with? Could someone from LHCb quickly summarize the use-cases on your side? Also, I see that : has a special meaning in the name. What is it?

@nnolte @clemenci @graven

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking