"use strict";(self.webpackChunkhopsworks_front=self.webpackChunkhopsworks_front||[]).push([[9853],{39853:function(e,t,n){n.r(t);var o=n(1413),r=n(76237),s=n(16871),a=n(62618),c=n(59728),i=n(1281),u=n(28735),p=n(4147),h=n(80184);t.default=function(){(0,a.Z)(c.Z.code);var e=(0,s.s0)(),t=window.location.hostname,n=(0,u.Z)().project,l=function(e,t){return{title:"Configuration",language:"python",content:'import hsfs\nconn = hsfs.connection(\n    host="'.concat(e,'",                                # DNS of your Feature Store instance\n    project="').concat(t,'",                      # Name of your Hopsworks Feature Store project\n    hostname_verification=False,                     # Disable for self-signed certificates\n    api_key_value="PASTE YOUR API KEY HERE"          # Feature store API key value \n)\nfs = conn.get_feature_store()           # Get the project\'s default feature store"')}}(t,null===n||void 0===n?void 0:n.projectName);return(0,h.jsxs)(r.Zb,{mb:"40px",title:"Connect to Feature Store",actions:(0,h.jsx)(r.zx,{href:"https://docs.hopsworks.ai/".concat(p.CH,"/user_guides/integrations/python/"),external:!0,target:"_blank",p:0,intent:"inline",children:"documentation\u2197"}),children:[(0,h.jsx)(r.UW,{mb:"20px",type:r.u3.neutral,content:"To use this snippet, you have to paste an Hopsworks API key",cta:(0,h.jsx)(r.zx,{onClick:function(){e(i.Z.account.api.create)},intent:"secondary",children:"Create API key"})}),(0,h.jsxs)(r.kC,{children:[(0,h.jsx)(r.B4,{maxWidth:"150px",children:"Connect to Feature Store"}),(0,h.jsx)(r.xu,{width:"100%",children:(0,h.jsx)(r.EK,(0,o.Z)({copyButton:!0},l))})]})]})}}}]);
//# sourceMappingURL=9853.a06efbff.chunk.js.map