Skip to content

Can't use pyFgt to add rating override #9

@slafarguette

Description

@slafarguette

Hi,

We can't use pyFgt to add a rating override using method :
fortigate.post('/cmdb/webfilter/ftgd-local-rating', f"vdom={self.name}", **post_data)

cause first arg is url and in data post one property is also called url (can't change).
We got error : TypeError: post() got multiple values for argument 'url'

is it possible to change named arg url by api_url in fortigate.pi for :
common_datagram_params
get
post
put
delete
_post_request

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions