-
Notifications
You must be signed in to change notification settings - Fork 47
Add oci-integrations-api endpoints to API spec #2559
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
base: master
Are you sure you want to change the base?
Add oci-integrations-api endpoints to API spec #2559
Conversation
42a11e7
to
9ec6042
Compare
86b39d3
to
31a6533
Compare
0c4249e
to
db7d1ef
Compare
Datadog Summary❌ Code Quality ✅ Code Security ✅ Dependencies Next StepsFix these code quality issues introduced by this PR: 🔴 Error: python-best-practices/class-methods-use-self
🔴 Error: python-best-practices/class-methods-use-self
🔴 Error: python-best-practices/class-methods-use-self
Was this helpful? Give us feedback! |
"private_key": "private_key", | ||
} | ||
|
||
def __init__(self_, fingerprint: str, private_key: str, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
def __init__(self_, fingerprint: str, private_key: str, **kwargs): | |
def __init__(self, fingerprint: str, private_key: str, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: Union[CreateTenancyConfigData, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
def __init__(self_, data: Union[CreateTenancyConfigData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[CreateTenancyConfigData, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: List[TenancyConfigData], **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
def __init__(self_, data: List[TenancyConfigData], **kwargs): | |
def __init__(self, data: List[TenancyConfigData], **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: Union[UpdateTenancyConfigData, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
def __init__(self_, data: Union[UpdateTenancyConfigData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[UpdateTenancyConfigData, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: Union[TenancyConfigData, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
def __init__(self_, data: Union[TenancyConfigData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[TenancyConfigData, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
db7d1ef
to
65ffc66
Compare
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: Union[UpdateTenancyConfigData, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
def __init__(self_, data: Union[UpdateTenancyConfigData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[UpdateTenancyConfigData, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: Union[CreateTenancyConfigData, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Error: Code Quality Violation
def __init__(self_, data: Union[CreateTenancyConfigData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[CreateTenancyConfigData, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
See DataDog/datadog-api-spec#3826
Test branch datadog-api-spec/test/sync-forwarder-specs/b00035d3e02142d3195b5302e1cb0463