change for pattern usage
This commit is contained in:
parent
cae225c3db
commit
79d1a0a41a
|
@ -3,7 +3,7 @@ class Vendor:
|
||||||
Represents a Vendor with SDK, OEM, version, and name attributes.
|
Represents a Vendor with SDK, OEM, version, and name attributes.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, sdk: int, oem: int, version: str, name: str):
|
def __init__(self, sdk: int, oem: int, version: str, pattern: str):
|
||||||
"""
|
"""
|
||||||
Initializes a Vendor instance.
|
Initializes a Vendor instance.
|
||||||
|
|
||||||
|
@ -11,12 +11,12 @@ class Vendor:
|
||||||
sdk (int): Minimum SDK version required.
|
sdk (int): Minimum SDK version required.
|
||||||
oem (int): OEM identifier.
|
oem (int): OEM identifier.
|
||||||
version (str): Version of the vendor.
|
version (str): Version of the vendor.
|
||||||
name (str): Name of the vendor.
|
pattern (str): Name of the vendor.
|
||||||
"""
|
"""
|
||||||
self.sdk = sdk
|
self.sdk = sdk
|
||||||
self.oem = oem
|
self.oem = oem
|
||||||
self.version = version
|
self.version = version
|
||||||
self.name = name
|
self.pattern = pattern
|
||||||
|
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue