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

Bump tqdm from 4.66.1 to 4.66.3 in /PythonRpcServer #479

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PythonRpcServer/requirements.txt
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ ptyprocess==0.7.0
requests==2.31.0
requests-toolbelt==1.0.0
six==1.16.0
tqdm==4.66.1
tqdm==4.66.3
traitlets==4.3.3
urllib3==2.1.0
wcwidth==0.2.13

Unchanged files with check annotations Beta

{
private readonly SlackLogger _slack;
private readonly ILogger _logger;
private BoxClient? _boxClient;

Check warning on line 22 in ClassTranscribeDatabase/Services/BoxAPI.cs

GitHub Actions / Build

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
private DateTimeOffset _lastRefreshed = DateTimeOffset.MinValue;
private SemaphoreSlim _RefreshSemaphore = new SemaphoreSlim(1, 1); // async-safe mutex to ensure only one thread is refreshing the token at a time
namespace ClassTranscribeDatabase.Migrations
{
public partial class two : Migration

Check warning on line 5 in ClassTranscribeDatabase/Migrations/20190624223657_two.cs

GitHub Actions / Build

The type name 'two' only contains lower-cased ascii characters. Such names may become reserved for the language.
{
protected override void Up(MigrationBuilder migrationBuilder)
{
{
[DbContext(typeof(CTDbContext))]
[Migration("20190624223657_two")]
partial class two

Check warning on line 14 in ClassTranscribeDatabase/Migrations/20190624223657_two.Designer.cs

GitHub Actions / Build

The type name 'two' only contains lower-cased ascii characters. Such names may become reserved for the language.
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
namespace ClassTranscribeDatabase.Migrations
{
public partial class videophrase : Migration

Check warning on line 6 in ClassTranscribeDatabase/Migrations/20210624224308_videophrase.cs

GitHub Actions / Build

The type name 'videophrase' only contains lower-cased ascii characters. Such names may become reserved for the language.
{
protected override void Up(MigrationBuilder migrationBuilder)
{
{
[DbContext(typeof(CTDbContext))]
[Migration("20210624224308_videophrase")]
partial class videophrase

Check warning on line 14 in ClassTranscribeDatabase/Migrations/20210624224308_videophrase.Designer.cs

GitHub Actions / Build

The type name 'videophrase' only contains lower-cased ascii characters. Such names may become reserved for the language.
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
}
try
{
using (WebClient client = new WebClient())

Check warning on line 84 in ClassTranscribeDatabase/Services/Slack.cs

GitHub Actions / Build

'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
{
NameValueCollection data = new NameValueCollection();
data["payload"] = payloadJson;
_rpcClient = rpcClient;
}
public async Task ReadEntity()

Check warning on line 32 in DevExperiments/TempCode.cs

GitHub Actions / Build

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
{
Transcription transcription = context.Transcriptions.FirstOrDefault((t=>t.Id == "a3013ae4-869a-4de4-97d2-101af3ef75d7"));
Video video = context.Videos.OrderByDescending(co => co.CreatedAt).FirstOrDefault();
int count = await context.Transcriptions.CountAsync();
Console.WriteLine($"Count: {count}");
var tid1 = "4aa9e224-75f0-4775-a531-a5b0c99693f0"; // playlist deleted
var tid2 = "a3013ae4-869a-4de4-97d2-101af3ef75d7";

Check warning on line 60 in DevExperiments/TempCode.cs

GitHub Actions / Build

The variable 'tid2' is assigned but its value is never used
var tid3 = "a3013ae4-869a-4de4-97d2-101af3ef75d7"; // "8c4f01ec-5620-49e5-aa33-89cdfa37ac55"; // "4d47ee07-6bbc-47b7-8da5-6a80cf006f1c";
var tid = tid1;
var playlistId = (await context.Transcriptions.Include(t => t.Video).ThenInclude(v=>v.Medias).FirstOrDefaultAsync(t2 => t2.Id == tid))