About 26,400,000 results
Open links in new tab
  1. Why do I get "TypeError: Missing 1 required positional argument: 'self'"?

    See Why do I get 'takes exactly 1 argument (2 given)' when trying to call a method? for the opposite problem.

  2. What is the purpose of the `self` parameter? Why is it needed?

    For a language-agnostic consideration of the design decision, see What is the advantage of having this/self pointer mandatory explicit?. To close debugging questions where OP omitted a self …

  3. git - SSL certificate problem: self signed certificate in certificate ...

    Aug 2, 2019 · The reason was an SSL certificate problem: 'self-signed certificate in certificate chain.'" Protected question. To answer this question, you need to have at least 10 reputation on this site (not …

  4. When to use self in JavaScript - Stack Overflow

    Oct 27, 2016 · var self = this; They're keeping a reference to the current object, so later when you call self.keyword() you're calling that method on that object, not any other. Say you have for example …

  5. When to use self, &self, &mut self in methods? - Stack Overflow

    Nov 24, 2019 · Say I want to implement a method that pretty prints the struct to stdout, should I take &self? I guess self also works? As you can see, this is exactly a case for &self. If you use self (or …

  6. node.js - NPM self_signed_cert_in_chain - Stack Overflow

    NPM self_signed_cert_in_chain Asked 9 years, 11 months ago Modified 5 months ago Viewed 206k times

  7. What is SELF JOIN and when would you use it? [duplicate]

    Jun 13, 2024 · A self join is simply when you join a table with itself. There is no SELF JOIN keyword, you just write an ordinary join where both tables involved in the join are the same table. One thing to …

  8. How to bypass certificate errors using Microsoft Edge

    Jul 2, 2020 · To allow a self-signed certificate to be used by Microsoft-Edge it is necessary to use the "certmgr.msc" tool from the command line to import the certificate as a Trusted Certificate Authority.

  9. oop - What do __init__ and self do in Python? - Stack Overflow

    Jul 8, 2017 · In this case, there are some benefits to allowing this: 1) Methods are just functions that happen defined in a class, and need to be callable either as bound methods with implicit self passing …

  10. How can I generate a self-signed SSL certificate using OpenSSL?

    A self-signed certificate does not chain back to a trusted anchor. The best way to avoid this is: Create your own authority (i.e., become a CA) Create a certificate signing request (CSR) for the server Sign …