Comments (1)
For now, plugin does not support variable parsing with syntax like ${class_name.var_name}
, the workaround is:
from dataclasses import dataclass, asdict
@dataclass
class Foo:
foo_int_var: int = 1
foo_str_var: str = "1"
@dataclass
class Bar:
bar_int_var: int = 1
bar_str_var: str = "1"
def get_variables():
return {**asdict(Foo()), **asdict(Bar())}
then you can use the variable by name directly, but the limitation is this will be conflict if there're same name var in different var class.
from hyperrobotframeworkplugin.
Related Issues (20)
- Import file not found. HOT 2
- Code Completion doesn't work when type Library HOT 2
- Can't found the Library Selenium2Library's keywords' definition HOT 10
- The browser window will be closed when the case runs finished HOT 1
- Code completion is not working correctly HOT 1
- Always insert 4 whitespace when typing Tab to be removed as this is controled with the code style in PyCharm HOT 4
- Allow attach customize robot running commands HOT 2
- Multiple same keywords check HOT 1
- Dot.Notated Library import is not loaded HOT 5
- Dynamically set Test Variables not found HOT 3
- Tab lengths are not dynamic for multiline alignment HOT 2
- Support for extensions that rely on robotframework-pythoncore HOT 1
- Debug run - when running test in debug mode PyCharm is not stopping in debug breakpoints inside the python code HOT 2
- Missing BUT statement for Gherkin HOT 2
- Cannot seem to generate new reports HOT 2
- Plugin not working with IntelliJ IDEA 2024.1 (Community Edition) HOT 3
- Plugin does not recognize keywords for my project HOT 1
- Add support for VAR syntax (framework 7) HOT 1
- Code Completion is not working on Pycharm 2024.1.1 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperrobotframeworkplugin.