[3.2][Audio] Part 4 #3212

Closed
Drapersniper wants to merge 132 commits from part-4 into V3/develop
Drapersniper commented 2019-12-22 17:43:32 +01:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature

This is the forth PR for the CPR, it depends on #3209, #3210 and #3211 and should be merged after them.

This PR Changed the audio cache database to use APSW instead of Databases, it also changes the Type of the dates stored in the Database

### Type - [x] Bugfix - [x] Enhancement - [x] New feature ## This is the forth PR for the CPR, it depends on #3209, #3210 and #3211 and should be merged after them. This PR Changed the audio cache database to use APSW instead of Databases, it also changes the Type of the dates stored in the Database
palmtree5 (Migrated from github.com) reviewed 2019-12-22 17:43:32 +01:00
tekulvw (Migrated from github.com) reviewed 2019-12-22 17:43:32 +01:00
Twentysix26 (Migrated from github.com) reviewed 2019-12-22 17:43:32 +01:00
mikeshardmind (Migrated from github.com) reviewed 2019-12-28 08:23:00 +01:00
@ -32,129 +17,38 @@ from lavalink.rest_api import LoadResult
from redbot.core import Config, commands
mikeshardmind (Migrated from github.com) commented 2019-12-28 08:23:00 +01:00

These type hints should be Optional[...]

These type hints should be `Optional[...]`
Drapersniper (Migrated from github.com) reviewed 2019-12-28 10:34:42 +01:00
@ -32,129 +17,38 @@ from lavalink.rest_api import LoadResult
from redbot.core import Config, commands
Drapersniper (Migrated from github.com) commented 2019-12-28 10:34:42 +01:00

I know the IDE was complaining, but should they are initialised before anything in the module is used and I came across some weirdness with pycharm where when I done optional because it’s set as none here it would consider the value of this always none when it came to code completion so I though I was messing up the typehints

I know the IDE was complaining, but should they are initialised before anything in the module is used and I came across some weirdness with pycharm where when I done optional because it’s set as none here it would consider the value of this always none when it came to code completion so I though I was messing up the typehints
mikeshardmind (Migrated from github.com) reviewed 2019-12-28 10:37:09 +01:00
@ -32,129 +17,38 @@ from lavalink.rest_api import LoadResult
from redbot.core import Config, commands
mikeshardmind (Migrated from github.com) commented 2019-12-28 10:37:08 +01:00

Optional is correct here, though ideally during refactoring planned for #3226 we get rid of all module globals anyhow.

Optional is correct here, though ideally during refactoring planned for #3226 we get rid of all module globals anyhow.
aikaterna commented 2020-01-04 01:54:58 +01:00 (Migrated from github.com)

Closing as #3244 will be the merge for the cascading PR, and Draper asked me to.

Closing as #3244 will be the merge for the cascading PR, and Draper asked me to.

Pull request closed

Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!3212
No description provided.