sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Flutter Web doesn't throw MissingPluginException when plugin is not registered
Labels: engine,platform-web,P2,team-web,triaged-web

## Steps to Reproduce
1. Write an app with a button that calls `launch()` from `package:url_launcher` when clicked
2. Tap on the button to trigger launch().
3. Tap on it again.

**Expected results:**
A `MissingPluginException` that is [thrown in platform_channel.dart](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/services/platform_channel.dart#L154) should be triggered twice.

**Actual results:**
It wasn't triggered on the first click, and only triggered on the second click. Making it difficult to know that a plugin is missing in this case. And the app code might be stuck waiting for a response from a plugin.

**Analysis:**
When a platform message was called, and if a handler was not registered for the channel, we [put the request in a channel buffer](https://github.com/flutter/flutter/blob/master/packages/flutter_web_plugins/lib/src/plugin_registry.dart#L84). The buffer has a size of 1, so the second click actually pushed the first message out and triggered the `MissingPluginException`.

From the discussion in #40165 which added the channel buffer, looks like it was added because the native side on mobile didn't have a way to know when the Dart side has finished initialization. (#38914) 


For web since everything happens on the Dart side, it's a lot easier to make sure that registration happen before actual calling the platform channel, do we still need the channel buffer in this case?

cc @hterkelsen @yjbanov @ferhatb
Repository: go
Issue: path/filepath: TestEvalSymlinksAboveRoot failures on macOS
Labels: OS-Darwin,NeedsInvestigation

[2020-03-17T20:48:23-0eeec4f/darwin-amd64-race](https://build.golang.org/log/0a56dc157638f581e1b2dba862e41dee69e7ce00)

```
--- FAIL: TestEvalSymlinksAboveRoot (0.01s)
    path_test.go:1449: EvalSymlinks("/private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/../../../../../../../../../private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/b/file") = "/private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/a/file"
    path_test.go:1449: EvalSymlinks("/private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/../../../../../../../../../../private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/b/file") = "/private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/a/file"
    path_test.go:1445: EvalSymlinks("/private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/../../../../../../../../../../../private/var/folders/kh/5zzynz152r94t18yzstnrwx80000gn/T/workdir-host-darwin-10_15/tmp/TestEvalSymlinksAboveRoot800207813/b/file") failed: lstat /private/../../../private/var: no such file or directory
FAIL
FAIL	path/filepath	0.252s
```

See previously #35201.
Repository: pytorch
Issue: [JIT]torch.jit.export invaild for pytorch1.4
Labels: needs reproduction,oncall: jit,triaged

@torch.jit.export 
it works in pytorch1.3, the same code in pytorch1.4, it's invaild.

cc @suo
Repository: pytorch
Issue: Enable OpaqueTensor to possess Storage then allow it to view from CPUTensor
Labels: module: internals,triaged,module: mkldnn

## 🚀 Feature
Allow OpaqueTensor to have storage. Implement OpaqueTensor<<ideep::tensor>> in a way that use Storage as its buffer manager.

## Motivation

  MKLDNN Layout is a physical extension to stride layout (always stride logically), so it is compatible to CPUTensor when transform from it. The copy nature of to_mkldnn will hurt performance when MKLDNN ops scattered in models, while it could be a view style.

## Pitch

Improve performance when using MKLDNN


## Additional context

  The parameter T of the OpaqueTensor template is the class to describe underlining memory buffer, while it does not have to manage the buffer of its own. If we limit the responsibility of T to meta description and let Storage for resource management, then an Opaque Tensor could naturally view from CPUTensor when they are compatible. Even when Opaque T described a layout that beyond the semantics of a stride Tensor we could still choose to use Storage for buffer management as long as we don’t pass it out to incompatible tensor types.

  A concrete case of this is, as we could see in DNNL Tensor if we use ideep::tensor for meta management and let Storage manage the buffer, then we could make to_mkldnn a view style op instead of a memory copy. In certain cases when DNNL Tensor format is compatible with CPUTensor (nearly all the cases other than some of 4D block format) we could optimize out unnecessary copy in transforming DNNL Tensor from or to CPUTensor.


cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh
Repository: go
Issue: proposal: x/crypto/ssh: export a method Disconnect in Conn interface
Labels: Proposal,Proposal-Crypto

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.14 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/wutz/.cache/go-build"
GOENV="/home/wutz/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY="git.paratera.net"
GONOSUMDB="git.paratera.net"
GOOS="linux"
GOPATH="/home/wutz/.go/path"
GOPRIVATE="git.paratera.net"
GOPROXY="https://goproxy.cn,direct"
GOROOT="/home/wutz/.go/root"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/wutz/.go/root/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/wutz/go/ssh/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build427084596=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### Proposal: Feature Request

https://github.com/golang/crypto/blob/1b76d66859c6111b3d5c3ea6600ea44dc188bf12/ssh/connection.go#L72-L75

Want to export a method `Disconnect`
Repository: create-react-app
Issue: Hot reloading breaks when encountering Typescript error
Labels: issue: needs investigation,issue: bug report

<!--
    Please note that your issue will be fixed much faster if you spend about
    half an hour preparing it, including the exact reproduction steps and a demo.

    If you're in a hurry or don't feel confident, it's fine to report bugs with
    less details, but this makes it less likely they'll get fixed soon.

    In either case, please use this template and fill in as many fields below as you can.

    Note that we don't provide help for webpack questions after ejecting.
    You can find webpack docs at https://webpack.js.org/.
-->

### Describe the bug
I am having exactly same issue as metioned in https://github.com/facebook/create-react-app/issues/8055

Since that issue is now closed, I will just re-describe the issue again here.

Hot reloading seems to stop working when a Typescript compilation error is encountered.
Any subsequent code changes would not trigger hot reloading after that, even if I fix the lines that would cause compile errror.

I need to actually close and restart the dev server in order to see my changes reflected.

### Which terms did you search for in User Guide?
Typescript, Hot reloading

### Environment

<!--
  To help identify if a problem is specific to a platform, browser, or module version, information about your environment is required.
  This enables the maintainers quickly reproduce the issue and give feedback.

  Run the following command in your React app's folder in terminal.
  Note: The result is copied to your clipboard directly.

  `npx create-react-app --info`

  Paste the output of the command in the section below.
-->
```
  System:
    OS: Linux 4.19 Ubuntu 18.04.2 LTS (Bionic Beaver)
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
  Binaries:
    Node: 13.7.0 - /usr/bin/node
    Yarn: 1.21.1 - /mnt/c/Program Files (x86)/Yarn/bin/yarn
    npm: 6.14.2 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    react: ^16.13.0 => 16.13.0 
    react-dom: ^16.13.0 => 16.13.0 
    react-scripts: 3.4.0 => 3.4.0 
  npmGlobalPackages:
    create-react-app: 3.4.0
```

### Steps to reproduce

<!--
  How would you describe your issue to someone who doesn’t know you or your project?
  Try to write a sequence of steps that anybody can repeat to see the issue.
-->

1. `create-react-app react-app --template typescript`
2. `cd react-app`
3. `yarn start`
4. Write invalid typescript code in `src/App.tsx` and save it to trigger compilation error
5. See TS compiler error message in terminal
6. Fix the code in `src/App.tsx` and save it
7. Note that hot reloading is now *NOT* triggered
6. Killing dev server and running `yarn start` again to see changes get reflected

### Expected behavior
Re-compile and hot reload on every save, just like when using `create-react-app` without the `--template typescript` flag
Repository: pytorch
Issue: Issues with DataParallel on Multiple GPUs
Labels: triaged,module: data parallel

I am getting the following error when trying to use Multiple GPUs with DataParallel. Please note the implementation works perfectly fine on a single GPU. 
Here is the traceback: 

```
Traceback (most recent call last):
  File "train.py", line 247, in <module>
    train_loss = train_xe(model, dataloader_train, optim, text_field)
  File "train.py", line 77, in train_xe
    out = model(detections, captions)
  File "/opt/conda/envs/m2release/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in __call__
    result = self.forward(*input, **kwargs)
  File "/opt/conda/envs/m2release/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 151, in forward
    replicas = self.replicate(self.module, self.device_ids[:len(inputs)])
  File "/opt/conda/envs/m2release/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 156, in replicate
    return replicate(module, device_ids, not torch.is_grad_enabled())
  File "/opt/conda/envs/m2release/lib/python3.6/site-packages/torch/nn/parallel/replicate.py", line 111, in replicate
    buffer_copies_not_rg = _broadcast_coalesced_reshape(buffers_not_rg, devices, detach=True)
  File "/opt/conda/envs/m2release/lib/python3.6/site-packages/torch/nn/parallel/replicate.py", line 75, in _broadcast_coalesced_reshape
    return comm.broadcast_coalesced(tensors, devices)
  File "/opt/conda/envs/m2release/lib/python3.6/site-packages/torch/cuda/comm.py", line 39, in broadcast_coalesced
    return torch._C._broadcast_coalesced(tensors, devices, buffer_size)
RuntimeError: tensors.size() == order.size() INTERNAL ASSERT FAILED at /pytorch/torch/csrc/utils/tensor_flatten.cpp:66, please report a bug to PyTorch.  (reorder_tensors_like at /pytorch/torch/csrc/utils/tensor_flatten.cpp:66)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7f71080e7273 in /opt/conda/envs/m2release/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #1: torch::utils::reorder_tensors_like(std::vector<at::Tensor, std::allocator<at::Tensor> >&, c10::ArrayRef<at::Tensor>) + 0x139f (0x7f710c34c9cf in /opt/conda/envs/m2release/lib/python3.6/site-packages/torch/lib/libtorch.so)
frame #2: torch::cuda::broadcast_coalesced(c10::ArrayRef<at::Tensor>, c10::ArrayRef<long>, unsigned long) + 0x1d96 (0x7f710c834d76 in /opt/conda/envs/m2release/lib/python3.6/site-packages/torch/lib/libtorch.so)
frame #3: <unknown function> + 0x5f422c (0x7f71528fd22c in /opt/conda/envs/m2release/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #4: <unknown function> + 0x1d3ef4 (0x7f71524dcef4 in /opt/conda/envs/m2release/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
<omitting python frames>
frame #48: __libc_start_main + 0xf0 (0x7f7160f72830 in /lib/x86_64-linux-gnu/libc.so.6)
```

Thanks :)
Repository: node
Issue: benchmark: http simple connect timeout on macOS
Labels: benchmark

<!--
Thank you for reporting an issue.

This issue tracker is for bugs and issues found within Node.js core.
If you require more general support please file an issue on our help
repo. https://github.com/nodejs/help


Please fill in as much of the template below as you're able.

Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
Subsystem: if known, please specify affected core module name
-->

* **Version**: v13.11.0
* **Platform**: macOS Catalina
* **Subsystem**: benchmark

### What steps will reproduce the bug?

<!--
Enter details about your bug, preferably a simple code snippet that can be
run using `node` directly without installing third-party dependencies.
-->
```js
node benchmark/http/simple.js
```

### How often does it reproduce? Is there a required condition?

Always reproduces.

### What is the expected behavior?

<!--
If possible please provide textual output instead of screenshots.
-->
It should run without timeout error on macOS.

### What do you see instead?

<!--
If possible please provide textual output instead of screenshots.
-->

<img width="1121" alt="Screen Shot 2020-03-18 at 11 58 44 AM" src="https://user-images.githubusercontent.com/3114495/76924042-1d49f200-6910-11ea-8cb3-66dab5f4d8a6.png">


### Additional information

<!--
Tell us anything else you think we should know.
-->

I found that it works when I change `duration` from 5 to 10. It could be some problem with frequently port binding.

```js
const bench = common.createBenchmark(main, {
  // Unicode confuses ab on os x.
  type: ['bytes', 'buffer'],
  len: [4, 1024, 102400],
  chunks: [1, 4],
  c: [50, 500],
  chunkedEnc: [1, 0],
  duration: 5 // replace with 10, it works
});
```
Repository: terminal
Issue: [v0.10] When two characters are ligatured, the first one becomes invisible
Labels: Help Wanted,Area-Rendering,Area-Fonts,Issue-Bug,Product-Terminal,Priority-3

![fig2](https://user-images.githubusercontent.com/9026813/76924254-bc6ee980-6910-11ea-8391-fc5ab1d9fe02.gif)


## Environment

```none
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19582.0 Microsoft Windows NT 10.0.19582.0
```

## Steps to reproduce

1. Change font to the one with ligatures, for example *Fira Code*.
2. Type `--`.

## Expected behavior

The first `-` shouldn't disappear.

## Actual behavior

The first `-` is disappeared.
Repository: kubernetes
Issue: Documentation of workqueue abstraction is too scattered
Labels: kind/documentation,sig/api-machinery,lifecycle/frozen

<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!

If the matter is security related, please disclose it privately via https://kubernetes.io/security/
-->


**What happened**:
Colleagues had questions about workqueue and I realized that the answers are painfully scattered throughout the code.

1. The introduction to the workqueue abstraction is in doc.go.  While this is not necessarily wrong, I will point out that my colleague did not find it.  The comment on the golang type `Type` --- which is one implementation of the interface `Interface` --- in `queue.go` points to `doc.go`.  The declaration of `RateLimitingInterface` does _not_ direct the reader to `doc.go`.

2. The need to call `Done` is not explained in any of the interface types.  It is stated on one method implementation.  I think that Done needs to be called for all the interfaces, and so should be documented in the root interface.

**What you expected to happen**:

**How to reproduce it (as minimally and precisely as possible)**:

**Anything else we need to know?**:

**Environment**:
- Kubernetes version (use `kubectl version`):
- Cloud provider or hardware configuration:
- OS (e.g: `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Install tools:
- Network plugin and version (if this is a network-related bug):
- Others:
Repository: neovim
Issue: Take HTML optional closing tags into account for indentation
Labels: runtime,bug-vim,needs:vim-patch

This problem is shared between vim and neovim. It has been reported against vim as well here: https://github.com/vim/vim/issues/5806

auto-indentation of HTML doesn't seem to be aware of optional closing tags, which messes up the indentation levels when taking advantage of this aspect of the HTML language.

### Actual behavior
```html
<ol>
        <li>1st list item
                <li>2nd list item
</ol>
<p>1st paragraph
        <p>2nd paragraph
```

### Expected behaviour
```html
<ol>
        <li>1st list item
        <li>2nd list item
</ol>
<p>1st paragraph
<p>paragraph
```

Based on the [WHATWG HTML spec](https://html.spec.whatwg.org/#syntax-tag-omission) and [W3C HTML spec](https://www.w3.org/TR/html53/syntax.html#optional-start-and-end-tags), this is what we ought to be doing:
* any of these elements closes a preceding `<p>` element: `<address>`, `<article>`, `<aside>`, `<blockquote>`, `<details>`, `<div>`, `<dl>`, `<fieldset>`, `<figcaption>`, `<figure>`, `<footer>`, `<form>`, `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<header>`, `<hgroup>`, `<hr>`, `<main>`, `<menu>`, `<nav>`, `<ol>`, `<p>`, `<pre>`, `<section>`, `<table>`, or `<ul>`
* an `<li>` closes a preceding `<li>`
* a `<dt>` or `<dd>` closes a preceding `<dt>` or `<dd>`
* an `<option>` closes a preceding `<option>`
* an `<optgroup>` closes a preceding `<optgroup>`
* a `<td>` or `<th>` closes a preceding `<td>` or `<th>`
* a `<tr>` closes a preceding `<tr>`
* a `<tfoot>` or `<tbody>` closes a preceding `<thead>` or `<tbody>`
* an `<rb>`, `<rt>`, `<rp>`, or `<rtc>` closes a preceding `<rb>`, `<rt>`, `<rp>`, or `<rtc>`
* a `<colgroup>` closes a preceding `<colgroup>`
* a `<caption>` closes a preceding `<caption>`

(HTML has more to say about optional opening/closing  tags, but the rest isn't relevant to indentation)
Repository: go
Issue: math/big: Float.Sqrt does not set accuracy
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version go1.13.8 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes.

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/root/app/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/root/app/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build510748991=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->

I was researching ieee 754, and when using go, I found that the `big.Float.Sqrt` function always output exact results. I calculate sqrt(pi) with go and cpp on one enviroment:

**Go**

```go
package main

import (
	"log"
	"math/big"
)

func main() {
	pi := big.NewFloat(3.14159265)
	r := big.NewFloat(0).Sqrt(pi)
	log.Println(r, r.Acc())
}
```

**Cpp**

```cpp
#include <iostream>
#include <cfenv>
#include <cmath>

#pragma STDC FENV_ACCESS ON

double pi = 3.14159265;

int main()
{
    std::feclearexcept(FE_ALL_EXCEPT);
    std::cout << "sqrt(pi) = " << sqrt(pi) << '\n';
    if(std::fetestexcept(FE_INEXACT)) {
        std::cout << "inexact result reported\n";
    } else {
        std::cout << "inexact result not reported\n";
    }
}
```

### What did you expect to see?

```
golang: 1.7724538498928541 "InExact"
cpp     : sqrt(pi) = 1.77245, inexact result reported
```

### What did you see instead?

```
golang: 1.7724538498928541 "Exact"
cpp     :  sqrt(pi) = 1.77245, inexact result reported
```

I don't think this is an accurate value, for `sqrt(pi) = 1.7724538498928541` in go
Repository: ant-design
Issue: Improve the accessibility
Labels: help wanted,Inactive,⌨️ Accessibility

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
Improve the overall accessibility of the framework according to a [this article](https://darekkay.com/blog/accessible-ui-frameworks/) AntD have poor accessibility, I doubt accessibility of things would have improved highly in 4.0

Better to focus on following things first although its better to have good color contrast 
- [Focus-indicator](https://darekkay.com/blog/accessible-ui-frameworks/#Focus-indicator)
- [WAI-ARIA-compliance](https://darekkay.com/blog/accessible-ui-frameworks/#WAI-ARIA-compliance)

Currently opened issues regarding accessibility
- [ ] https://github.com/ant-design/ant-design/issues/16682
- [ ] https://github.com/ant-design/ant-design/issues/16270
- [ ] https://github.com/ant-design/ant-design/issues/12502
- [ ] https://github.com/ant-design/ant-design/issues/11600


### What does the proposed API look like?
May try a alternative library as suggested in [16607](https://github.com/ant-design/ant-design/issues/16607) or improve the current implementation.


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: fastapi
Issue: Include documentation for other types of security
Labels: feature,investigate,reviewed

Docs Link: https://fastapi.tiangolo.com/tutorial/security/

We have explained in detail about OAuth2 with password. However, there are no documentation links about other types like APIKeyHeader, HTTPHeader, etc. There is a very hidden mention https://fastapi.tiangolo.com/tutorial/security/#fastapi-utilities about the existence of other module. It took me a lot of time to find this. I feel it would be time-saving if we were to include these in the documentation itself.

Also, I feel that we should give option to add a global custom checking tool for security types, like the way `@app.middleware` does for wrapping custom logic. Currently, we can only check with tokenUrls, authenticationUrls, or defining custom functions that have to then be added as a dependency.

Something like this:
```py
auth_token = HTTPBearer(auto_error=False)
@app.check_security(auth_token)
def check_token(token):
    # Include code to check the token
    pass
```

Thanks!! 😄