What would be the equivalent of require'lspconfig'.pyright.setup{} for your init.vim?

I still use a init.vim for my config
What would be the equivalent of require’lspconfig’.pyright.setup{} for your init.vim?

Because lspconfig is almost totally implemented in lua, one must use :lua or lua-heredoc block.
(Example below users :lua) (for future read: :help lua-guide-using-Lua)

lua require'lspconfig'.pyright.setup{}