Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Mandatory argument missing: default" warning when using "Get from dictionary" #1027

Open
nicolasbillamboz-flowbird opened this issue Jan 11, 2024 · 3 comments
Labels
bug Something isn't working robotframework-ls

Comments

@nicolasbillamboz-flowbird
Copy link

Describe the bug
After upgrading to roboframework 7.0, when I run the lint feature against a file containing Get from dictionary, I get the warning Mandatory argument missing: default

To Reproduce
Run lint against the following file:

*** Settings ***
Library     Collections.py

*** Test Cases ***
Sandbox
    &{my_dict}=    Create dictionary    key=value
    ${my_value}=    Get from dictionary    ${my_dict}
    Log    ${my_value}

Expected behavior
No warning should be reported

Versions:

  • OS: Ubuntu 20.04
  • Robot Framework Version: 7.0
  • Robot Framework Language Server Version: 1.11.0
  • Client Version: VSCode 1.85.1
@nicolasbillamboz-flowbird
Copy link
Author

@fabioz is there any chance to get a new release with this fix, because it prevents us to migrate to RF7 peacefully?

@fabioz
Copy link
Collaborator

fabioz commented Feb 28, 2024

@nicolasbillamboz-flowbird unfortunately there are no plans to tackle this...

Robocorp is transitioning to be Python 1st (https://robocorp.com/blog/python-for-automation-as-code), so, while it'll still support Robot Framework in its platform (because it's a framework that runs on Python), it's no longer pushing forward to develop projects which target Robot Framework specifically (and that includes Robot Framework Language Server).

So, if you need this and are willing to make a PR then yes, it'll appear in a release, but otherwise that won't be supported unless someone else from the community steps up to implement that (note that PRs are still accepted and security issues will still be tackled at least until Jan/2025).

@nicolasbillamboz-flowbird
Copy link
Author

This is a sad news for RF community. RFLS and related extension are the best tools in the RF ecosystem... Thanks for the reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working robotframework-ls
Projects
None yet
Development

No branches or pull requests

2 participants